From c824c199601c2dd8e20f06e69774fbb6d50ce0c9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 26 Oct 2017 10:45:45 -0200 Subject: Bookmark/session key mappings --- vimrc.dot.link | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) 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 -- cgit v1.2.3