aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-01 12:10:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-01 12:10:50 -0300
commitea6bd0646099b06b18468e10bbb0e47a25aab69c (patch)
tree43992434ba94de38c3dfe89d26eaf372aea692f7
parent350360c2f1e0b13977c713a3fa7a39918263fd25 (diff)
downloadvim-ea6bd0646099b06b18468e10bbb0e47a25aab69c.tar.gz
vim-ea6bd0646099b06b18468e10bbb0e47a25aab69c.tar.bz2
Write, quit and close shortcuts using Alt-key combos
-rw-r--r--vimrc.dot.link14
1 files changed, 6 insertions, 8 deletions
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 <ESC>n :tabnew<CR>
-" Quit and close shortcuts
-map q :wqa <CR>
-map f :wq <CR>
-map t :tabclose <CR>
-"map m :q! <CR>
-
-" Write shortcuts
-"map w :w <CR>
+" Write, quit and close shortcuts using Alt-key combos
+map q :wqa <CR>
+map f :wq <CR>
+map t :tabclose <CR>
+map m :q! <CR>
+map w :w <CR>
" NERDTree section
" Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc