Ⅰ. 插件描述
A tool for reusing vim in xtermⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vim-activator'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vim-activator'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vim-activator'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vim-activator
Ⅳ. 文档说明
There's a script that comes with vim distribution for editing with existing
vim in Windows. However, this feature doesn't work in Linux xterm
environment. There's a beast called Vim Shell by Thomas Wana, but it's not
officially endorsed by vim. When you exit vim to shell by pressing <ctrl-z>
which suspends the vim, this nifty little gadget allows you edit subsequent
files by reusing the existing vim. It's kind of emulates a vim shell from the
view point of a normal user. This tool requires client-server option to be
enabled in vim.