|
@@ -28,22 +28,22 @@ autocmd FileType which_key set laststatus=0 noshowmode noruler
|
|
|
|
|
|
|
|
|
" Single mappings
|
|
|
-let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ]
|
|
|
-let g:which_key_map['.'] = [ ':e $MYVIMRC' , 'open init' ]
|
|
|
-let g:which_key_map[';'] = [ ':Commands' , 'commands' ]
|
|
|
-let g:which_key_map['='] = [ '<C-W>=' , 'balance windows' ]
|
|
|
-let g:which_key_map['d'] = [ ':Bdelete' , 'delete buffer']
|
|
|
-let g:which_key_map['e'] = [ ':CocCommand explorer --toggle --sources=file+' , 'explorer' ]
|
|
|
-let g:which_key_map['h'] = [ '<C-W>s' , 'split below']
|
|
|
-let g:which_key_map['n'] = [ ':let @/ = ""' , 'no highlight' ]
|
|
|
-let g:which_key_map['o'] = [ ':RnvimrToggle' , 'open' ]
|
|
|
-let g:which_key_map['p'] = [ ':Files' , 'search files' ]
|
|
|
-let g:which_key_map['q'] = [ 'q' , 'quit' ]
|
|
|
-let g:which_key_map['T'] = [ ':TSHighlightCapturesUnderCursor' , 'treesitter highlight' ]
|
|
|
-let g:which_key_map['u'] = [ ':UndotreeToggle' , 'undo tree']
|
|
|
-let g:which_key_map['v'] = [ '<C-W>v' , 'split right']
|
|
|
-let g:which_key_map['W'] = [ ':call WindowSwap#EasyWindowSwap()' , 'move window' ]
|
|
|
-let g:which_key_map['z'] = [ 'Goyo' , 'zen' ]
|
|
|
+let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ]
|
|
|
+let g:which_key_map['.'] = [ ':e $MYVIMRC' , 'open init' ]
|
|
|
+let g:which_key_map[';'] = [ ':Commands' , 'commands' ]
|
|
|
+let g:which_key_map['='] = [ '<C-W>=' , 'balance windows' ]
|
|
|
+let g:which_key_map['d'] = [ ':Bdelete' , 'delete buffer']
|
|
|
+let g:which_key_map['e'] = [ ':CocCommand explorer --toggle --sources=file+' , 'explorer' ]
|
|
|
+let g:which_key_map['h'] = [ '<C-W>s' , 'split below']
|
|
|
+let g:which_key_map['n'] = [ ':let @/ = ""' , 'no highlight' ]
|
|
|
+let g:which_key_map['o'] = [ ':RnvimrToggle' , 'open' ]
|
|
|
+let g:which_key_map['p'] = [ ':Files' , 'search files' ]
|
|
|
+let g:which_key_map['q'] = [ '<Plug>(coc-fix-current)' , 'quickfix' ]
|
|
|
+let g:which_key_map['T'] = [ ':TSHighlightCapturesUnderCursor' , 'treesitter highlight' ]
|
|
|
+let g:which_key_map['u'] = [ ':UndotreeToggle' , 'undo tree']
|
|
|
+let g:which_key_map['v'] = [ '<C-W>v' , 'split right']
|
|
|
+let g:which_key_map['W'] = [ ':call WindowSwap#EasyWindowSwap()' , 'move window' ]
|
|
|
+let g:which_key_map['z'] = [ 'Goyo' , 'zen' ]
|
|
|
|
|
|
" Group mappings
|
|
|
|