我在wsl中安装Carl大神在github上提供的PowerVim操作如下:
git clone https://github.com/youngyangyang04/PowerVim.git
cd PowerVim
sh install.sh
然后遇到一些问题:
1. sh install.sh会报install.sh: 8: install.sh: Syntax error: “(” unexpected
解决 dash->bash : sudo dpkg-reconfigure dash
2. E197: Cannot set language to “zh_CN.gb2312”
解决:
1. sudo locale-gen
2. sudo apt-get install language-pack-zh-hans
3. 在/var/lib/locales/supported.d/zh-hans中最后添加
zh_CN.GBK GBK
zh_CN GB2312
4. sudo dpkg-reconfigure --force locales
zh_SG GB2312(按空格键), 然后回车
3. Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.
解决:sudo apt-get install ctags