Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim高效帮助 #253

Closed
WGrape opened this issue Aug 13, 2022 · 0 comments
Closed

Vim高效帮助 #253

WGrape opened this issue Aug 13, 2022 · 0 comments
Labels
Linux Linux系统常用技能

Comments

@WGrape
Copy link
Owner

WGrape commented Aug 13, 2022

常见问题

1、涉及到的配置文件

~/.vimrc
~/.zshrc
~/.bash_profile

与 Vim 相关的配置最好都统一写在 ~/.vimrc 文件中 ,

2、powerline错误

如果使用 Vim 一直 报 powerline 的错误, 看是不是这里的文件路径写错了。

提示这个错误 :
zsh: /usr/local/bin/pip: bad interpreter: /usr/local/opt/python/bin/python2.7: no such file or directory

解决方法 :
1. 查询目录发现,/usr/local/opt没有python目录,原因是自动升级python把之前的覆盖了,而后又被卸载,导致目录缺失
2. 设置软链:ln -s xx xx 把python目录链接到/usr/local/opt/python/bin/python2.7,测试成功,软件均可用

3、Cannot find color scheme solarized

错误的解决方法是 下载 vim-colors-solarized ,然后使用 cp ~/.vim/bundle/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/

@WGrape WGrape added the Linux Linux系统常用技能 label Aug 13, 2022
@WGrape WGrape closed this as completed Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Linux系统常用技能
Projects
None yet
Development

No branches or pull requests

1 participant