blob: 2cf2e48e68d29e9d431b2eab1cb4593bd4991636 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
" map leader to which_key
" call which_key#register('<Space>', "g:which_key_map")
nnoremap <silent> <leader> :silent WhichKey ' '<CR>
" Not a fan of floating windows for this
let g:which_key_use_floating_win = 0
" highlight default link WhichKey Function
" highlight default link WhichKeySeperator DiffAdded
" highlight default link WhichKeyGroup Keyword
" highlight default link WhichKeyDesc Identifier
highlight default link WhichKey Operator
highlight default link WhichKeySeperator DiffAdded
highlight default link WhichKeyGroup Identifier
highlight default link WhichKeyDesc Function
" Hide status line
autocmd! FileType which_key
autocmd FileType which_key set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set laststatus=2 noshowmode ruler
|