We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let g:which_key_centered = 1
init.vim code:
let g:which_key_centered = 1 let g:which_key_vertical = 1 let g:which_key_map = {} let g:which_key_map['LeaderF'] = { \ 'name': '+LeaderF', \ 'f' : ['<cmd>Leaderf file\<cr>', 'current-directory'], \ 'g' : ['<cmd>call SearchGitRepo()\<cr>', 'git-repository'], \ 'p' : ['<cmd>call SearchP4Client()\<cr>', 'perforce-client'], \ 'c' : ['<cmd>call SearchCmakeSourceDir()\<cr>', 'cmake-source'], \ } nnoremap <C-P> <cmd>WhichKey! g:which_key_map['LeaderF']<cr>
this shows like: https://raw.githubusercontent.com/etorth/imghost/e161a89cd164f2e4400baa1f36c1ab923630961c/2021.07.21.13.06.12.730695200.png the keybind is not centered, as you see
The text was updated successfully, but these errors were encountered:
I suppose the problem is g:which_key_vertical=1 . I was able to achieve the result you wanted by setting it to 0.
g:which_key_vertical=1
Sorry, something went wrong.
No branches or pull requests
init.vim code:
this shows like:
https://raw.githubusercontent.com/etorth/imghost/e161a89cd164f2e4400baa1f36c1ab923630961c/2021.07.21.13.06.12.730695200.png
the keybind is not centered, as you see
The text was updated successfully, but these errors were encountered: