aboutsummaryrefslogtreecommitdiff
path: root/modules/vim
diff options
context:
space:
mode:
Diffstat (limited to 'modules/vim')
-rw-r--r--modules/vim/vimrc.dot.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/vim/vimrc.dot.link b/modules/vim/vimrc.dot.link
index 9c156cf..121d2e3 100644
--- a/modules/vim/vimrc.dot.link
+++ b/modules/vim/vimrc.dot.link
@@ -69,6 +69,9 @@ let g:syntastic_mode_map = { 'mode': 'passive',
\ 'active_filetypes': [],
\ 'passive_filetypes': [] }
+" Shortcut to open a new tab
+nmap <ESC>n :tabnew<CR>
+
" NERDTree section
" Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc