From 39f15fb6894557df1b546c479b7000baa3556442 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 21 Nov 2019 14:45:13 +0100 Subject: [PATCH] Give mapping secctions respective plugin names --- .config/nvim/maps.vim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/nvim/maps.vim b/.config/nvim/maps.vim index 9ce664d..d6080f0 100644 --- a/.config/nvim/maps.vim +++ b/.config/nvim/maps.vim @@ -114,7 +114,7 @@ noremap OE :setlocal spell! spelllang=en_us noremap OG :setlocal spell! spelllang=de_de noremap o z= -" NERDTree +" PLUGIN: NERDTree " open/close NERDtree with leader-e " whatever method tree has been opened by, leader-e closes it again nnoremap e :NERDTreeToggle @@ -123,7 +123,7 @@ nnoremap :NERDTreeVCS " open current nerdtree with current file highlighted nnoremap E :NERDTreeFind -" GLOBAL FUZZY FINDING +" PLUGIN: FZF GLOBAL FUZZY FINDING " FZF buffers and files in current workdir noremap s :FzfBuffers " FZF most recently used / MRU, bound to S since it is essentially a larger @@ -143,7 +143,7 @@ nnoremap :FzfColors call togglebg#map("") " Note Searching -" Notational-FZF +" PLUGIN: Notational-FZF " set notational-fzf-vim keys for the NV window itself let g:nv_fzf_binds = [ \ 'alt-a:select-all', @@ -157,9 +157,11 @@ let g:nv_fzf_binds = [ " directory) noremap n :NV noremap N :NV! +" PLUGIN: CtrlSF " (non-fuzzy) search in wiki with ctrlsf, in fullscreen window nnoremap wf :execute(":call SearchWiki()") +" PLUGIN: vim-go " vim-go mappings - will only activate in go files " most of this credit to https://hackernoon.com/my-neovim-setup-for-go-7f7b6e805876 " switch between test file and function @@ -177,6 +179,7 @@ au FileType go nnoremap :GoCoverageToggle -short " go to the definition of whatever you hover over au FileType go nnoremap (go-def) +" PLUGIN: wiki.vim " use wiki.vim to look through document outlines in fzf (only for note " directory atm) nnoremap l :WikiFzfToc @@ -187,6 +190,7 @@ nnoremap q gqap xnoremap q gq nnoremap Q vapJgqap +" PLUGIN: GOYO " Enter distraction free prose mode with F11 noremap :Goyo