Instructions: Replace the template text and remove irrelevant text (including this line)
Warning: if you don't fill this issue template and provide the reproducible steps the issue could be closed directly.
Environment (please complete the following information):
-
OS: linux
-
(Neo)Vim version: vim 9.1
-
vim-which-key version: 4843811 Tue, 3 Dec 2024 09:20:17
-
Have you reproduced with a minimal vimrc: yes
Describe the bug
on ag.vim:
https://github.com/albfan/ag.vim.git
it defines some mappings as <Leader>ag using symbolic mapping targets <Plug>(ag-group)
vim-whichkey do not show them on popup, and broke its usage (mapping is there but
There's a workaround though
To Reproduce
Steps to reproduce the behavior:
- Create the minimal vimrc
min.vim:
set nocompatible
set runtimepath^=/path/to/vim-which-key
syntax on
filetype plugin indent on
" Here place the configuration that can cause this issue.
"this breaks ,ag execution
"nnoremap <silent> <leader> :WhichKey ','<CR>
"this work without any problem
nnoremap <silent> <leader> :WhichKeyVisual ','<CR>
-
Start (neo)vim with command: vim -u min.vim
-
Type '....'
-
See error
[which-key] , a is undefined
Expected behavior
WhichKey and WichKeyVisual to work the same
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Instructions: Replace the template text and remove irrelevant text (including this line)
Warning: if you don't fill this issue template and provide the reproducible steps the issue could be closed directly.
Environment (please complete the following information):
OS: linux
(Neo)Vim version: vim 9.1
vim-which-key version: 4843811 Tue, 3 Dec 2024 09:20:17
Have you reproduced with a minimal vimrc: yes
Describe the bug
on ag.vim:
https://github.com/albfan/ag.vim.git
it defines some mappings as
<Leader>agusing symbolic mapping targets<Plug>(ag-group)vim-whichkey do not show them on popup, and broke its usage (mapping is there but
There's a workaround though
To Reproduce
Steps to reproduce the behavior:
min.vim:Start (neo)vim with command:
vim -u min.vimType '....'
See error
[which-key] , a is undefined
Expected behavior
WhichKey and WichKeyVisual to work the same
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.