aboutsummaryrefslogtreecommitdiff
path: root/vimrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-12 20:53:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-12 20:53:50 -0300
commit82ef1243eaa2de915bf2205da492a8be70d4ae56 (patch)
tree78f38924e74b3a69ee31ebf501092c4e45626fde /vimrc.dot.link
parent0e54f2283c490cf4ee3ce35128ec0558358346c7 (diff)
downloadvim-82ef1243eaa2de915bf2205da492a8be70d4ae56.tar.gz
vim-82ef1243eaa2de915bf2205da492a8be70d4ae56.tar.bz2
Move quit shortcut to vimrc
Diffstat (limited to 'vimrc.dot.link')
-rw-r--r--vimrc.dot.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index f8c8973..14724f5 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -83,6 +83,9 @@ let g:syntastic_mode_map = { 'mode': 'passive',
" Shortcut to open a new tab
nmap <ESC>n :tabnew<CR>
+" Quit shortcut
+map q :wqa <CR>
+
" NERDTree section
" Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc