]> gitweb.fluxo.info Git - metadot.git/commitdiff
Shortcut to open a new tab on vim
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jun 2013 01:27:48 +0000 (22:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jun 2013 01:27:48 +0000 (22:27 -0300)
modules/vim/vimrc.dot.link

index 9c156cffa4e7cda890b690abfa35c6f464df89c5..121d2e37a9f31cd167a7172f0d21ffdf6d6646af 100644 (file)
@@ -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