Hacker News new | ask | show | jobs
by hallnoates 5208 days ago
This feature of vi/vim along with not being able to save and quit as quickly as I can in emacs (ctrl-s ctrl-x, baby, none of that :q! shite) is the reason I use emacs. I totally respect those that use vim, but I'm not a freaking machine.
3 comments

To save with [Esc],w add the following to your ~/.vimrc

  " remap <Leader> to ,
  let mapleader = ","

  " save with ,w
  nmap <Leader>w :w<CR>
I can hit ZZ faster than ctrl-x ctrl-s ;)
:x or ZZ instead of :wq wins :)