liuchengxu / vim-which-key

:tulip: Vim plugin that shows keybindings in popup
https://liuchengxu.github.io/vim-which-key/
MIT License
1.93k stars 65 forks source link

[bug] conflict with fastfold.vim #199

Closed Freed-Wu closed 3 years ago

Freed-Wu commented 3 years ago
" $ uname -r
" 5.13.8-arch1-1
" $ has nvim
" ✓ nvim 0.5.0
" $ has python
" ✓ python 3.9.6
" $ vi test.vim
set runtimepath=$VIMRUNTIME,~/.local/share/nvim/repos/github.com/Konfekt/FastFold,~/.local/share/nvim/repos/github.com/liuchengxu/vim-which-key
nnoremap <nowait> z :<C-u>WhichKey 'z'<CR>
" $ vi -u test.vim demo.vim

this is demo.vim:

" Interaction {{{1 "
" UI {{{2 "
" liuchengxu/vim-which-key {{{3 "
" 3}}} liuchengxu/vim-which-key "
" 2}}} UI "

" KeyMap {{{2 "
" lyokha/vim-xkbswitch {{{3 "
" 3}}} lyokha/vim-xkbswitch "
" 2}}} KeyMap "
" 1}}} Interaction "
" ex: foldmethod=marker

after vi -u test.vim demo.vim Screenshot from 2021-08-14 22-30-47 after 3ggl, the folder was opened. Screenshot from 2021-08-14 22-31-19 after 2dd, a folder was deleted. Screenshot from 2021-08-14 22-32-36

after z, wait to the popup window, vim-which-key will give you a popup window to prompt what hotkey has been mapped. Screenshot from 2021-08-14 22-32-44 after j, it should jump to next folder, however: Screenshot from 2021-08-14 22-32-47 some lines were deleted. this is a bug.

thanks.

https://github.com/Konfekt/FastFold/issues/67