vim-pythonx


Ⅰ. 插件描述

Python libraries for making coding in vim easier

Ⅱ. 基本信息

创建日期:  2015-01-28
使用用户:  3
Github星:  16
插件作者:  reconquest

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'reconquest/vim-pythonx-may-fear-less'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'reconquest/vim-pythonx-may-fear-less'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'reconquest/vim-pythonx-may-fear-less'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Python libraries for smarter Vim coding

Installation

Just add plugin using Plug:

Plug 'seletskiy/vim-pythonx'

Import required py-modules in snippets files (e.g. in go.snippets):

global !p
import px.langs.go
endglobal

PHP

cycle by var name php
getter/setter php
cycle by var name

Golang

extract_prev_method_binding_for_cursor
autoimport

Thx @kovetskiy.

添加新评论