diff options
| author | Chris <[email protected]> | 2021-03-26 17:02:27 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-03-26 17:02:27 -0400 | 
| commit | 7a67d6245af26c7ef6d5af87505353221df10e53 (patch) | |
| tree | 24ad135f95468e62779faf948303cf5148a0c5f3 /vimscript/nv-whichkey/init.vim | |
| parent | bb31a56b486843e6364b7cb0fd3a3486eb242080 (diff) | |
add bookmark plugin since regular marks never delete for me
Diffstat (limited to 'vimscript/nv-whichkey/init.vim')
| -rw-r--r-- | vimscript/nv-whichkey/init.vim | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/vimscript/nv-whichkey/init.vim b/vimscript/nv-whichkey/init.vim index 81ef410f..2cfcb8fd 100644 --- a/vimscript/nv-whichkey/init.vim +++ b/vimscript/nv-whichkey/init.vim @@ -28,7 +28,7 @@ let g:which_key_map['?'] = [ ':NvimTreeFindFile'                               ,  let g:which_key_map['e'] = [ ':NvimTreeToggle'                                 , 'explorer' ]  let g:which_key_map['f'] = [ ':Telescope find_files'                           , 'find files' ]  let g:which_key_map['h'] = [ '<C-W>s'                                          , 'split below'] -let g:which_key_map['m'] = [ ':MarkdownPreviewToggle'                          , 'markdown preview'] +let g:which_key_map['M'] = [ ':MarkdownPreviewToggle'                          , 'markdown preview']  let g:which_key_map['h'] = [ ':let @/ = ""'                                    , 'no highlight' ]  let g:which_key_map['r'] = [ ':RnvimrToggle'                                   , 'ranger' ]  " TODO create entire treesitter section @@ -114,6 +114,15 @@ let g:which_key_map.F = {      \ '6' : [':set foldlevel=6'   , 'level6']      \ } +" m is for mark +" I'd rather use regular marks but they never clear +let g:which_key_map.m = { +    \ 'name': '+fold', +    \ 't' : [':BookmarkToggle'   , 'toggle'], +    \ 'j' : [':BookmarkNext'   , 'next mark'], +    \ 'k' : [':BookmarkPrev'   , 'prev mark'] +    \ } +  " s is for search powered by telescope  let g:which_key_map.s = {        \ 'name' : '+search' , @@ -133,6 +142,7 @@ let g:which_key_map.s = {        \ 'u' : [':Telescope colorscheme'                 , 'colorschemes'],        \ } +" S is for Session  let g:which_key_map.S = {        \ 'name' : '+Session' ,        \ 's' : [':SessionSave'           , 'save session'], | 
