]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Some more key mappings
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 31 Oct 2017 15:37:17 +0000 (13:37 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 31 Oct 2017 15:37:17 +0000 (13:37 -0200)
vimrc.dot.link

index 7a82a038f7a0bbb2e6e770456b9a9fb63817ab48..23cc6602250b458aaf683b79583d103916ea0bca 100644 (file)
@@ -146,7 +146,8 @@ set timeoutlen=0 ttimeoutlen=0
 
 " Write, quit and close shortcuts using Esc <key> notation (works also with <Alt-key>)
 nmap <ESC>n :tabnew<CR>
-nmap <ESC>t :OpenNERDTree<CR>
+nmap <ESC>t :OpenNERDTree 
+nmap <ESC>T :T 
 "nmap <ESC>q :wqa<CR>
 "map <ESC>c :wqa<CR>
 nmap <ESC>f :wq<CR>
@@ -158,7 +159,8 @@ nmap <ESC>s :OpenSession
 nmap <ESC>m :q!<CR>
 nmap <ESC>w :w<CR>
 imap <ESC>n <ESC>:tabnew<CR>
-imap <ESC>t <ESC>:OpenNERDTree<CR>
+imap <ESC>t <ESC>:OpenNERDTree 
+imap <ESC>t <ESC>:T 
 "imap <ESC>q <ESC>:wqa<CR>
 "map <ESC>c <ESC>:wqa<CR>
 imap <ESC>f <ESC>:wq<CR>
@@ -220,6 +222,7 @@ map q :wqa <CR>
 "map t :tabclose <CR>
 "map m :q! <CR>
 "map w :w <CR>
+map h :tabnew<CR>
 
 " Tab navigation
 " See http://vim.wikia.com/wiki/Alternative_tab_navigation