From: Silvio Rhatto Date: Sat, 1 Aug 2015 15:10:50 +0000 (-0300) Subject: Write, quit and close shortcuts using Alt-key combos X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ea6bd0646099b06b18468e10bbb0e47a25aab69c;p=rhatto%2Fdotfiles%2Fvim.git Write, quit and close shortcuts using Alt-key combos --- diff --git a/vimrc.dot.link b/vimrc.dot.link index 901f722..ef4499e 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -96,14 +96,12 @@ let g:syntastic_mode_map = { 'mode': 'passive', " Shortcut to open a new tab nmap n :tabnew -" Quit and close shortcuts -map q :wqa -map f :wq -map t :tabclose -"map m :q! - -" Write shortcuts -"map w :w +" Write, quit and close shortcuts using Alt-key combos +map q :wqa +map f :wq +map t :tabclose +map m :q! +map w :w " NERDTree section " Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc