您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

两个命令把 Vim 打造成 Python IDE的方法

2024/2/28 6:18:13发布11次查看
运行下面两个命令,即可把 vim(含插件)配置成 python ide。目前支持 mac 和 ubuntu。
curl -o https://raw.githubusercontent.com/vince67/v7_config/master/vim.shbash vim.sh
截图示例
做了什么
写了个方便的bash脚本,用来配置vim
使用的配置来自 fisa-vim-config 效果爆炸
附脚本:
•注意一: 每次运行本脚本,会把旧的 ~/.vimrc 文件备份到 /tmp/vimrc.bak ,并替换原来的 ~/.vimrc 文件 。
•注意二: 目前支持mac和ubuntu系统。
•脚本存放位置
#!/bin/bash # install fisa vim config echo '===============================' echo 'start to install dependences...' case $ostype in darwin*) brew install vim git pip curl;; linux*) sudo apt-get install vim exuberant-ctags git pip curl;; *) echo unknown: os: $ostype, u should install dependences by yourself ;; esac sudo pip install dbgp vim-debug pep8 flake8 pyflakes isort echo '===============================' echo 'start to download vimrc file...' cp ~/.vimrc /tmp/vimrc.bak curl -o https://raw.githubusercontent.com/fisadev/fisa-vim-config/master/.vimrc mv .vimrc ~/.vimrc echo '===============================' echo 'start to install vim plugins...' vim +bundleclean +bundleinstall! +qa sudo chown -r $user ~/.vim/
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product