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

突然无法使用 #207

Closed minrui-hust closed 2 years ago

minrui-hust commented 2 years ago

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):

Describe the bug A clear and concise description of what the bug is. 今天起来突然就不好使了,无法弹出菜单,所有映射失效 尝试重新安装nvim 和所有插件,依然无效。 To Reproduce Steps to reproduce the behavior:

  1. 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.
  1. Start (neo)vim with command: vim -u min.vim

  2. Type '....'

  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

minrui-hust commented 2 years ago

同一个机器vim是ok的, 之前我吧.config/nvim move到了别的地方,然后试用了一个别的nvim配置,然后又move回来,结果nvim下which-key 就完全没有反映了。

samwhelp commented 2 years ago

關於nvim,一般可能相關的資料夾路徑如下

~/.config/nvim
~/.cache/nvim
~/.local/share/nvim

也許先清掉後,再試試看是否可以正常執行

可以參考我的筆記

以上提供參考。

:-)

minrui-hust commented 2 years ago

删除了~/.local/share/nvim后ok了,应该是我try的另一个配置,用的lua管理包,导致一些冲突