From: Silvio Rhatto Date: Tue, 31 Oct 2017 15:37:17 +0000 (-0200) Subject: Some more key mappings X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b06d278a1c756c1d10ffda6763e90275f34878d8;p=rhatto%2Fdotfiles%2Fvim.git Some more key mappings --- 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 notation (works also with ) nmap n :tabnew -nmap t :OpenNERDTree +nmap t :OpenNERDTree +nmap T :T "nmap q :wqa "map c :wqa nmap f :wq @@ -158,7 +159,8 @@ nmap s :OpenSession nmap m :q! nmap w :w imap n :tabnew -imap t :OpenNERDTree +imap t :OpenNERDTree +imap t :T "imap q :wqa "map c :wqa imap f :wq @@ -220,6 +222,7 @@ map q :wqa "map t :tabclose "map m :q! "map w :w +map h :tabnew " Tab navigation " See http://vim.wikia.com/wiki/Alternative_tab_navigation