aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-31 13:37:17 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-31 13:37:17 -0200
commitb06d278a1c756c1d10ffda6763e90275f34878d8 (patch)
tree2dcfaea3eb82ddaf8f6f74670319864b84c447ab
parent32457af0989d9aa6b95a55361869a10863e2c6ab (diff)
downloadvim-b06d278a1c756c1d10ffda6763e90275f34878d8.tar.gz
vim-b06d278a1c756c1d10ffda6763e90275f34878d8.tar.bz2
Some more key mappings
-rw-r--r--vimrc.dot.link7
1 files changed, 5 insertions, 2 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index 7a82a03..23cc660 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -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