Give mapping secctions respective plugin names
This commit is contained in:
parent
197213b417
commit
39f15fb689
1 changed files with 7 additions and 3 deletions
|
|
@ -114,7 +114,7 @@ noremap <leader>OE :setlocal spell! spelllang=en_us<CR>
|
||||||
noremap <leader>OG :setlocal spell! spelllang=de_de<CR>
|
noremap <leader>OG :setlocal spell! spelllang=de_de<CR>
|
||||||
noremap <leader>o z=
|
noremap <leader>o z=
|
||||||
|
|
||||||
" NERDTree
|
" PLUGIN: NERDTree
|
||||||
" open/close NERDtree with leader-e
|
" open/close NERDtree with leader-e
|
||||||
" whatever method tree has been opened by, leader-e closes it again
|
" whatever method tree has been opened by, leader-e closes it again
|
||||||
nnoremap <leader>e :NERDTreeToggle<CR>
|
nnoremap <leader>e :NERDTreeToggle<CR>
|
||||||
|
|
@ -123,7 +123,7 @@ nnoremap <leader><C-e> :NERDTreeVCS<CR>
|
||||||
" open current nerdtree with current file highlighted
|
" open current nerdtree with current file highlighted
|
||||||
nnoremap <leader>E :NERDTreeFind<CR>
|
nnoremap <leader>E :NERDTreeFind<CR>
|
||||||
|
|
||||||
" GLOBAL FUZZY FINDING
|
" PLUGIN: FZF GLOBAL FUZZY FINDING
|
||||||
" FZF buffers and files in current workdir
|
" FZF buffers and files in current workdir
|
||||||
noremap <leader>s :FzfBuffers<cr>
|
noremap <leader>s :FzfBuffers<cr>
|
||||||
" FZF most recently used / MRU, bound to S since it is essentially a larger
|
" FZF most recently used / MRU, bound to S since it is essentially a larger
|
||||||
|
|
@ -143,7 +143,7 @@ nnoremap <leader><F8> :FzfColors<cr>
|
||||||
call togglebg#map("<F8>")
|
call togglebg#map("<F8>")
|
||||||
|
|
||||||
" Note Searching
|
" Note Searching
|
||||||
" Notational-FZF
|
" PLUGIN: Notational-FZF
|
||||||
" set notational-fzf-vim keys for the NV window itself
|
" set notational-fzf-vim keys for the NV window itself
|
||||||
let g:nv_fzf_binds = [
|
let g:nv_fzf_binds = [
|
||||||
\ 'alt-a:select-all',
|
\ 'alt-a:select-all',
|
||||||
|
|
@ -157,9 +157,11 @@ let g:nv_fzf_binds = [
|
||||||
" directory)
|
" directory)
|
||||||
noremap <leader>n :NV<cr>
|
noremap <leader>n :NV<cr>
|
||||||
noremap <leader>N :NV!<cr>
|
noremap <leader>N :NV!<cr>
|
||||||
|
" PLUGIN: CtrlSF
|
||||||
" (non-fuzzy) search in wiki with ctrlsf, in fullscreen window
|
" (non-fuzzy) search in wiki with ctrlsf, in fullscreen window
|
||||||
nnoremap <leader>wf :execute(":call SearchWiki()")<cr>
|
nnoremap <leader>wf :execute(":call SearchWiki()")<cr>
|
||||||
|
|
||||||
|
" PLUGIN: vim-go
|
||||||
" vim-go mappings - will only activate in go files
|
" vim-go mappings - will only activate in go files
|
||||||
" most of this credit to https://hackernoon.com/my-neovim-setup-for-go-7f7b6e805876
|
" most of this credit to https://hackernoon.com/my-neovim-setup-for-go-7f7b6e805876
|
||||||
" switch between test file and function
|
" switch between test file and function
|
||||||
|
|
@ -177,6 +179,7 @@ au FileType go nnoremap <F9> :GoCoverageToggle -short<cr>
|
||||||
" go to the definition of whatever you hover over
|
" go to the definition of whatever you hover over
|
||||||
au FileType go nnoremap <F12> <Plug>(go-def)
|
au FileType go nnoremap <F12> <Plug>(go-def)
|
||||||
|
|
||||||
|
" PLUGIN: wiki.vim
|
||||||
" use wiki.vim to look through document outlines in fzf (only for note
|
" use wiki.vim to look through document outlines in fzf (only for note
|
||||||
" directory atm)
|
" directory atm)
|
||||||
nnoremap <leader>l :WikiFzfToc<cr>
|
nnoremap <leader>l :WikiFzfToc<cr>
|
||||||
|
|
@ -187,6 +190,7 @@ nnoremap <silent> <leader>q gqap
|
||||||
xnoremap <silent> <leader>q gq
|
xnoremap <silent> <leader>q gq
|
||||||
nnoremap <silent> <leader>Q vapJgqap
|
nnoremap <silent> <leader>Q vapJgqap
|
||||||
|
|
||||||
|
" PLUGIN: GOYO
|
||||||
" Enter distraction free prose mode with F11
|
" Enter distraction free prose mode with F11
|
||||||
noremap <F11> :Goyo<CR>
|
noremap <F11> :Goyo<CR>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue