vim python插件配置

网上搜一下vim的插件,很多,常用的有ctags,taglist,pcdiction等等

这几个插件的用途各不相同

如果想要python自动补全插件,当然要数pydiction了,

那么pydiction怎样安装配置呢,下载和安装文档详见https://github.com/vim-scripts/Pydiction

具体的详细步骤这里就不介绍了,直接看文档就行了

还要强调一下,如果你比较懒得话,你可以安装k-vim插件

下载和安装地址:https://github.com/wklken/k-vim

安装也就是傻瓜式的安装

配置安装步骤:

  1. clone到本地,配置到linux个人目录(如果是从linux_config过来的,不需要clone)

    git clone https://github.com/wklken/k-vim.git
    
  2. 安装依赖包

    sudo apt-get install ctags
    #brew install ctags     (mac用户)
    
    #使用python需要
    sudo apt-get install pyflakes
    sudo apt-get install pylint
    sudo apt-get install pep8
    
  3. 安装插件

    cd k-vim/
    sh -x install.sh
    
原文地址:https://www.cnblogs.com/shanlilang/p/3378614.html