]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Move quit shortcut to vimrc
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 12 May 2014 23:53:50 +0000 (20:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 12 May 2014 23:53:50 +0000 (20:53 -0300)
gvimrc.dot.link
vimrc.dot.link

index 19f70e8ef4bf7abccdb64d468ec5211c617a71c5..28d63bd02e6be3276c64379c68eef2e03fdc3584 100644 (file)
@@ -14,9 +14,6 @@ set nu
 " Change to the current file's folder
 map <leader>cd :cd %:p:h>cr<
 
-" Quit shortcut
-map q :wqa <CR>
-
 " Font configuration
 set gfn=Monospace\ 8
 
index f8c8973b585e92b694f5e4fb2ea79852407b8eda..14724f53dd290c55e5630542fa53c9a29f5d57e9 100644 (file)
@@ -83,6 +83,9 @@ let g:syntastic_mode_map = { 'mode': 'passive',
 " Shortcut to open a new tab
 nmap <ESC>n :tabnew<CR>
 
+" Quit shortcut
+map q :wqa <CR>
+
 " NERDTree section
 " Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc