|
@@ -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'],
|