From: Silvio Rhatto Date: Fri, 16 May 2014 15:40:54 +0000 (-0300) Subject: Removing menu and toolbar; close tab shortcut X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f21c3ac1b7f0c078d1f46ba8ada042737d166552;p=rhatto%2Fdotfiles%2Fvim.git Removing menu and toolbar; close tab shortcut --- diff --git a/gvimrc.dot.link b/gvimrc.dot.link index 28d63bd..334a9a3 100644 --- a/gvimrc.dot.link +++ b/gvimrc.dot.link @@ -1,6 +1,8 @@ " GVIM Configuration set background=light set mouse=a +set guioptions-=m " remove menu bar +set guioptions-=T " remove toolbar " GVIM IDE Configuration set nocompatible " must be the first line diff --git a/vimrc.dot.link b/vimrc.dot.link index 14724f5..0e52bde 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -83,8 +83,9 @@ let g:syntastic_mode_map = { 'mode': 'passive', " Shortcut to open a new tab nmap n :tabnew -" Quit shortcut +" Quit and close shortcuts map q :wqa +map t :tabclose " NERDTree section " Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc