Ⅰ. 插件描述
Integrate multiple vim windowsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/multivim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/multivim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/multivim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/multivim
Ⅳ. 文档说明
Based on bcbuf.vim (vimscript #201), this script allows the user to open a new vim window from within vim, and manage the buffers in all open vim sessions (windows) in a centralized manner. One can:
- Open a new vim window from within vim by the command ":nf"
- Yank and Put across multiple sessions using the usual mappings.
- Edit a file, first in one session, then in another, using :edit, :split, :vsplit, etc.
- Look at all buffers in all sessions using :files, :buffers, etc.
- Push a command from one session's history and pop it in another.
For more details look at the comments at the start of the script.