Easy, fast saving/quitting

3 Points

Mark Mossberg Mark Mossberg

8 years ago

Save with a quick Ctrl-s, in normal or insert mode. Quit with an equally easy Ctrl-q.

" save/quit
map <C-s> <esc>:w<cr>
imap <C-s> <esc>:w<cr>
nmap <C-q> <esc>:q<cr>