aboutsummaryrefslogtreecommitdiff
path: root/vimrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc.dot.link')
-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