diff options
author | chaeing <[email protected]> | 2021-03-28 11:51:32 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-28 14:51:32 -0400 |
commit | e91472c4b32e6147c2fed1a6f8a11f02dd4a6a18 (patch) | |
tree | 86791459b57ffd947401be5ddb798a68e4ae040b /vimscript | |
parent | 4f9a07d42880b9ac48db71f76f866022a3f98cb9 (diff) |
Add display name for key ' '(<Space>) in whichkey (#179)
Key for ' '(<Space>) is displayed on the panel as 'SPC' by default.
However, it is displayed as blank instead of 'SPC'
when assigning 'which_key_display_names' variable without specifiying it.
Diffstat (limited to 'vimscript')
-rw-r--r-- | vimscript/nv-whichkey/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vimscript/nv-whichkey/init.vim b/vimscript/nv-whichkey/init.vim index 1557010b..0fcd8a2f 100644 --- a/vimscript/nv-whichkey/init.vim +++ b/vimscript/nv-whichkey/init.vim @@ -3,7 +3,7 @@ " Timeout let g:which_key_timeout = 100 -let g:which_key_display_names = {'<CR>': '↵', '<TAB>': '⇆'} +let g:which_key_display_names = {'<CR>': '↵', '<TAB>': '⇆', " ": 'SPC'} " Map leader to which_key nnoremap <silent> <leader> :silent <c-u> :silent WhichKey '<Space>'<CR> |