From: Silvio Rhatto Date: Thu, 26 Oct 2017 12:45:45 +0000 (-0200) Subject: Bookmark/session key mappings X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c824c199601c2dd8e20f06e69774fbb6d50ce0c9;p=rhatto%2Fdotfiles%2Fvim.git Bookmark/session key mappings --- diff --git a/vimrc.dot.link b/vimrc.dot.link index ffae3e2..3631692 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -149,16 +149,18 @@ nmap n :tabnew nmap t :OpenNERDTree "nmap q :wqa "map c :wqa -map f :wq +nmap f :wq nmap c :tabclose "map e :tabclose +nmap b :NERDTreeFromBookmark +nmap s :OpenSession nmap m :q! nmap w :w imap n :tabnew imap t :OpenNERDTree "imap q :wqa "map c :wqa -map f :wq +imap f :wq imap c :tabclose "map e :tabclose imap m :q! @@ -172,6 +174,8 @@ imap w :w "map f :wq "map c :tabclose "map e :tabclose +"nmap b :NERDTreeFromBookmark +"nmap s :OpenSession "map m :q! "map w :w "imap n :tabnew @@ -186,15 +190,17 @@ imap w :w " Write, quit and close shortcuts using Ctrl-key combos " We're using these due to a conflict with wyrd(1) -"map :tabnew -"map :OpenNERDTree -"map :wqa -"map :wqa -"map :wq -"map :tabclose -"map :tabclose -"map :q! -"map :w +"nmap :tabnew +"nmap :OpenNERDTree +"nmap :wqa +"nmap :wqa +"nmap :wq +"nmap :tabclose +"nmap :tabclose +"nmap :NERDTreeFromBookmark +"nmap :OpenSession +"nmap :q! +"nmap :w "imap :tabnew "imap :OpenNERDTree "imap :wqa