]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Remove special 'save all and quit'
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Jun 2014 22:31:42 +0000 (19:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Jun 2014 22:31:42 +0000 (19:31 -0300)
vimrc.dot.link

index be1a5b71dd3619ae07a13fb01bebc58f0395a632..2924fae8a0a28d8f9572452405926d5c4d1103a9 100644 (file)
@@ -84,15 +84,11 @@ let g:syntastic_mode_map = { 'mode': 'passive',
 nmap <ESC>n :tabnew<CR>
 
 " Quit and close shortcuts
+map q :wqa <CR>
 map f :wq <CR>
 map t :tabclose <CR>
 map m :q! <CR>
 
-" Special savel all and quit
-" We're using an additional :w to make sure the current buffer will be saved
-" even if not updated (useful for message composition under the mutt mail client).
-map q :w <CR>:wqa <CR>
-
 " NERDTree section
 " Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc