aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-16 12:40:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-16 12:40:54 -0300
commitf21c3ac1b7f0c078d1f46ba8ada042737d166552 (patch)
treeea380f54f788fe28f1a65ce6cd7de42948d673d7
parent82ef1243eaa2de915bf2205da492a8be70d4ae56 (diff)
downloadvim-f21c3ac1b7f0c078d1f46ba8ada042737d166552.tar.gz
vim-f21c3ac1b7f0c078d1f46ba8ada042737d166552.tar.bz2
Removing menu and toolbar; close tab shortcut
-rw-r--r--gvimrc.dot.link2
-rw-r--r--vimrc.dot.link3
2 files changed, 4 insertions, 1 deletions
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 <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