From b98cc52343954c2dc86b78446b3bdaef82913416 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sat, 1 Sep 2018 11:12:31 +0200 Subject: [PATCH] VIM: Cleanup keybindings, add NERDTreeToggle The keybindings file was a mess. Cleaned it up and bound NERDTreeToggle to in normal mode for easy access. Buffers are now on in every mode. This will probably be changed again, depending on how annoying it is. Signed-off-by: Tobias Manske --- vim/config/keybindings.vim | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/vim/config/keybindings.vim b/vim/config/keybindings.vim index 50904a0..7f80eaa 100644 --- a/vim/config/keybindings.vim +++ b/vim/config/keybindings.vim @@ -15,12 +15,27 @@ vno " Misc Keybindings let mapleader = "," +" Buffers +nmap :Buffers +imap :Buffers +vmap :Buffers + +" Nerdtree +nmap :NERDTreeToggle + +" SingleCompile +nmap :SCChooseCompiler +nmap :SCCompile +nmap :SCCompileRun + + " Window Movement nnoremap nnoremap nnoremap nnoremap + " Yankstack nmap yankstack_substitute_newer_paste nmap yankstack_substitute_older_paste @@ -29,13 +44,6 @@ nmap yankstack_substitute_older_paste inoremap imap -" Syntastic -nnoremap :SyntasticToggleMode - -" SingleCompile -nmap :SCChooseCompiler -nmap :SCCompile -nmap :SCCompileRun nmap g~iw