imxiejie / ThinkVim

Vim configuration in the 21st century
MIT License
868 stars 106 forks source link

<Space> + e 组合键出现错误 #94

Closed sdttttt closed 4 years ago

sdttttt commented 4 years ago

Hi, @taigacute :

我是vim新手。 当我尝试调出文件管理窗口时出现以下错误:

[defx] Vim(call):E117: Unknown function: _defx_init
[defx] function dein#autoload#_on_cmd[13]..defx#util#call_defx[2]..defx#start[1]..defx#initialize[1]..defx#init#_initia
lize[5]..defx#init#_channel, line 26
[defx] defx failed to load. Try the :UpdateRemotePlugins command and restart Neovim. See also :checkhealth.

它提示我使用 :UpdateRemotePlugins 来解决问题但是并没有用。

ThinkVim 的其他功能看起来是正常运行的(似乎)。

我该如何解决它?

Environment Information

NVIM v0.5.0-404-g49cd750d6
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
    health#coc#check
     ========================================================================
       - OK: Environment check passed

       - OK: Javascript bundle found
       - OK: Service started

     health#nvim#check
     ========================================================================

How to reproduce the problem from neovim startup (Required!)

emmm...刚刚装好就有这个问题....

glepnir commented 4 years ago

@sdttttt

pip3 install --user pynvim

image

sdttttt commented 4 years ago

在安装步骤中我执行过了。这个错误依然存在。

pip3 install --user pynvim
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pynvim in /home/sdttttt/.local/lib/python3.7/site-packages (0.4.1)
Requirement already satisfied: msgpack>=0.5.0 in /usr/lib/python3/dist-packages (from pynvim) (0.5.6)
Requirement already satisfied: greenlet in /usr/lib/python3/dist-packages (from pynvim) (0.4.15)
glepnir commented 4 years ago

checkhealth defx的检查看一下,neovim的版本也可能导致一些问题。使用0.4.3是否正常?

sdttttt commented 4 years ago

好吧, 降了版本这个错误依然存在, checkhealth一直检查不到Python3. 我还是下次再折腾吧. 😥 Ty.

glepnir commented 4 years ago

@sdttttt 你可以用<leader> +j..有2个文件管理器。

sdttttt commented 4 years ago

@sdttttt 你可以用<leader> +j..有2个文件管理器。

Oh,这很有用。

不过我好像遇上了新的问题。

checkhealth中:

## Clipboard (optional)
       - WARNING: No clipboard tool found. Clipboard registers (`"+` and `"*`) will not work.
         - ADVICE:
           - :help clipboard    

NVIM的剪贴板看起来不能工作。我不太熟悉nvim,并不清楚是什么原因导致的。

glepnir commented 4 years ago

装个clipboard就好了

sdttttt commented 4 years ago

问题就在这里!clipboard 这个工具我没有找到关于它的任何信息。

sdttttt commented 4 years ago

它是插件吗?还是一个脚本?

glepnir commented 4 years ago

@sdttttt 相关issue https://github.com/neovim/neovim/issues/1696 安装xlicp

sdttttt commented 4 years ago

Wow! 这正是我想要的!checkhealth检查通过了 ✔ Thanks !!