aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-10 22:27:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-10 22:27:48 -0300
commit58dbd3b5133f8e1f4a52244e37cb7e654a305484 (patch)
tree8d519fde700a4dc332ae8b5871d0853bb46cd04a /modules
parent0370ad29fdf7d1937f8141c768c94c65fcb6295c (diff)
downloaddotfiles-58dbd3b5133f8e1f4a52244e37cb7e654a305484.tar.gz
dotfiles-58dbd3b5133f8e1f4a52244e37cb7e654a305484.tar.bz2
Shortcut to open a new tab on vim
Diffstat (limited to 'modules')
-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