如何设置文件树图标

问题描述

我是 spacevim 的新手,几天前我将它安装在了 neovim 之上。我想为此添加 vim devicons 支持。我已经通过克隆 git repo 并运行 ./install.sh 来安装 nerdfonts。

我一直坚持在 spacevim 中实际配置书呆子字体。在spacevim的gitter chat中,有人问过类似的问题,但告诉他找到了答案。

M. Mert Yıldıran @mertyildiran Apr 11 2019 02:51
Hi,I'm trying to display file type icons in vimfiler with https://github.com/ryanoasis/vim-devicons I installed it but the icons does not show up
 1 reply
The problem is I have a Nerd Font compatible environment. You can see it from the PHP icon in this image: https://i.ibb.co/vvjNXVz/Screenshot-20190410-234026.png
the icons show up in other kinds of panes but not in vimfiler

M. Mert Yıldıran @mertyildiran Apr 11 2019 02:59
OK I found the answer: enable_vimfiler_filetypeicon = true
  1. 我无法理解在何处为“enable_vimfiler_filetypeicon = true”设置此值
  2. 我使用 nerdtree,而不是 vimfiler,因为 vimfiler 似乎没有复制文件选项,而且我不知道它的键映射。
  3. 如果不使用spacevim,即只使用neovim,那么我可以使用plugInstall 配置nerdfonts。但是安装了spacevim后,我不知道把调用vim插件的代码放在哪里。

感谢任何帮助我的人。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)