This page should help you get started on your Emacs journey from using vim.


How I start with transition most people from vim over to Emacs, is first turning Emacs into a vim clone. Then help slowly them explore the features of Emacs.


Lets setup a quick ~/.emacs file that will turn make Emacs behave like vim.

$ cat << EOF > ~/.emacs
  (require 'package)
  (package-initialize)
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
  (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
  (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
  (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
  (package-refresh-contents)
  (package-install 'evil)
  ;; Enable evil for vim bindings
  (require 'evil)
  ;; Turn on VIM emulation
  (evil-mode 1)
  ;; Turn off all the bars, just like a vim terminal session
  (menu-bar-mode -1)
  (toggle-scroll-bar -1)
  (tool-bar-mode -1)
  ;; show line numbers in the side bar
  (linum-mode -1)
EOF

Start Emacs

$ emacs