Ⅰ. 插件描述
A highly extensible window manager for nvim/vim!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'paroxayte/vwm-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'paroxayte/vwm-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'paroxayte/vwm-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/paroxayte/vwm.vim
Ⅳ. 文档说明
# Vim Window Manager
A layout manager for vim and nvim.
Features
- Save and manage vim windows via layouts
- Automatically cache and unlist buffers
- Automatically reuse buffers
- Regroup command buffers
- Highly configurable
Installation
- vimplug:
Plug 'paroxayte/vwm.vim'
- dein:
call dein#add('paroxayte/vwm.vim')
- manual: source the this repo to your vim runtime
Usage
- Layout on:
:VwmOpen *layout_name*
- Layout off:
:VwmClose *layout_name*
- Layout toggle:
:VwmToggle *layout_name*
note: default
is the only default layout. Test it out!
Examples
note: For detailed configuration see help: vwm.vim
.
layouts
command buffer regrouping
vwm can take commands that open a new window, and incorporate that window in to a defined layout
The following example will make use of the wonderful NERDTree plugin and the equally wonderful Vista plugin.