From: Silvio Rhatto Date: Mon, 12 May 2014 23:53:50 +0000 (-0300) Subject: Move quit shortcut to vimrc X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=82ef1243eaa2de915bf2205da492a8be70d4ae56;p=rhatto%2Fdotfiles%2Fvim.git Move quit shortcut to vimrc --- diff --git a/gvimrc.dot.link b/gvimrc.dot.link index 19f70e8..28d63bd 100644 --- a/gvimrc.dot.link +++ b/gvimrc.dot.link @@ -14,9 +14,6 @@ set nu " Change to the current file's folder map cd :cd %:p:h>cr< -" Quit shortcut -map q :wqa - " Font configuration set gfn=Monospace\ 8 diff --git a/vimrc.dot.link b/vimrc.dot.link index f8c8973..14724f5 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -83,6 +83,9 @@ let g:syntastic_mode_map = { 'mode': 'passive', " Shortcut to open a new tab nmap n :tabnew +" Quit shortcut +map q :wqa + " NERDTree section " Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc