一键打造vim ide 支持python golang shell等高级特性

1.vim-for-devops

github: https://github.com/yxxhero/vim_for_devops
利用vim插件打造支持python、shell、golang的ide,一键脚本安装,未来支持js。

2.依赖

  • Vim >= 8.1 (most features needed +python or +python3 support)
  • golang >= 1.11
  • python >= 3.6

该脚本可自动安装以上依赖。
脚本在centos7上测试通过。

3.使用方法

git clone https://github.com/yxxhero/vim_for_devops.git
cd vim_for_devops
bash ./install.sh install

4. 效果截图

1.golang语言的代码检查、代码高亮、代码自动补全、自动import等特性
golang代码检查高亮自动补全
2.shell脚本的代码补全、代码高亮等shell
3.python自动pep8格式化、目录树支持pythonpep8
4.python的依赖包的格式化,借助isort插件isort
5.python ide的常用特性支持,包括代码补全高亮,以及语法检查与纠错pythonide

5.清理

bash install.sh clean

6. Todo

  • [ ] 插件自定义安装
  • [ ] 更多发行版支持

猜你喜欢

转载自www.cnblogs.com/aiops/p/11570306.html