From 368032a73c999fa5ba9e0c8b246ad1ea574b2726 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 26 Jun 2019 21:03:33 +0200 Subject: [PATCH] Switch vim keys for Buffer/File opening Switch fuzzy opening of buffers to f, and set opening files in work directory to F. Switching these two is intended to allow easier access to buffer switching, which I use much more often than file access, especially when working over a longer time-frame in vim. --- .config/nvim/init.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 70ed578..e5a356e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -369,8 +369,8 @@ nnoremap :NERDTreeVCS nnoremap E :NERDTreeFind " Call leaderf with (necessary to enable leaderf lazyloading) -nnoremap f :LeaderfFile -nnoremap F :LeaderfBuffer +nnoremap F :LeaderfFile +nnoremap f :LeaderfBuffer function! SearchWiki() let l:curpath=getcwd()