]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Removing menu and toolbar; close tab shortcut
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 16 May 2014 15:40:54 +0000 (12:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 16 May 2014 15:40:54 +0000 (12:40 -0300)
gvimrc.dot.link
vimrc.dot.link

index 28d63bd02e6be3276c64379c68eef2e03fdc3584..334a9a317aa4540d7a998562a631e0983d6f1d2b 100644 (file)
@@ -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
index 14724f53dd290c55e5630542fa53c9a29f5d57e9..0e52bde295124b915ba1b208b40320bcfbabf550 100644 (file)
@@ -83,8 +83,9 @@ let g:syntastic_mode_map = { 'mode': 'passive',
 " Shortcut to open a new tab
 nmap <ESC>n :tabnew<CR>
 
-" Quit shortcut
+" Quit and close shortcuts
 map q :wqa <CR>
+map t :tabclose <CR>
 
 " NERDTree section
 " Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc