Ⅰ. 插件描述
PyConsole - embedded console session in windows VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/pyconsole-vim-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/pyconsole-vim-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/pyconsole-vim-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/pyconsole_vim.vim
Ⅳ. 文档说明
This plugin allows for the execution of windows based command line commands such as "dir", "findstr" or "ping" directly within a vim buffer.
Start up an embedded console from within vim by:
:call PyConsole()
or the windows command line by:
gvim "+call PyConsole()"
See http://pyconsole.googlecode.com/ for a flash demo.
Requirements:
- Vim 7.0 or above: http://www.vim.org/download.php#pc
- Python 2.4 or above: http://www.python.org/download/windows/
- Python for Windows extensions: http://sourceforge.net/projects/pywin32/
- Python ctypes module (not necessary for Python 2.5 and above): http://sourceforge.net/projects/ctypes/
Based on the Python PyConsole project.