Hacker News new | comments | show | ask | jobs | submit login

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.

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 :)

Applications are open for YC Winter 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact