From acce57ae7d9f854c12b7095e4e9920ec6e860a38 Mon Sep 17 00:00:00 2001 From: oreodave Date: Tue, 23 Jul 2019 23:52:29 +0100 Subject: +Keybinds to move closer to doom keybinds --- vimrc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 96f627e..45b185a 100755 --- a/vimrc +++ b/vimrc @@ -102,6 +102,7 @@ nnoremap fed :e ~/.vimrc nnoremap fei :e ~/.vim/ftplugin nnoremap fer :so ~/.vimrc:PluginInstall nnoremap qq :q! +nnoremap gs :G nnoremap : "" File Management @@ -120,29 +121,28 @@ nnoremap bd :bd "" Window Management nnoremap ww :Windows "" Splits -nnoremap w/ v -nnoremap w- s +nnoremap wv v +nnoremap ws s nnoremap wd q "" Resizes -nnoremap w^ :resize -5 -nnoremap w :resize +5 -nnoremap w> 5> -nnoremap w< 5< +nnoremap wj :resize -5 +nnoremap wk :resize +5 +nnoremap wl 5> +nnoremap wh 5< "" Movement -nnoremap wj -nnoremap wk -nnoremap wl -nnoremap wh - +nnoremap j +nnoremap k +nnoremap l +nnoremap h "" Searches -nnoremap ss :BLines -nnoremap sf :Ag -nnoremap st :BTags +nnoremap /b :BLines +nnoremap /a :Ag +nnoremap /t :BTags nnoremap ff :Files "" Projects nnoremap pf :Files -nnoremap pt :NERDTreeToggle +nnoremap ot :NERDTreeToggle nnoremap pg :!ctags-exuberant -R --exclude=Makefile . "" Tags -- cgit v1.2.3-13-gbd6f