vim-python


Ⅰ. 插件描述

Python specific settings (Alpha!)

Ⅱ. 基本信息

创建日期:  2015-10-18
使用用户:  1
Github星:  15
插件作者:  Ali Aliyev

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'aliev/vim-python-the-heights'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'aliev/vim-python-the-heights'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'aliev/vim-python-the-heights'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/aliev/vim-python

Ⅳ. 文档说明

# Installation

Django command depends on the vim-dispatch module, therefore it is necessary to install it. For installation modules and packages in vim, I use a lightweight package manager - vim-plug. In your vimrc:

Plug 'tpope/vim-dispatch'

if has('nvim')
  " Adds neovim support to vim-dispatch
  Plug 'radenling/vim-dispatch-neovim'
endif

Plug 'aliev/vim-python'

vim-dispatch will allow run the external commands asynchronously, without exiting from Vim. As we know running external commands blocks vim. As the backend for vim-dispatch, I recommend using tmux. If you're using neovim, you don't need tmux.

Env options

Ignore Python warnings (very useful for vim-htmldjango_omnicomplete plugin)

let $PYTHONWARNINGS="ignore"

Python Compiler

Compiler options:

let g:python_compiler_fixqflist = 1

添加新评论