Ⅰ. 插件描述
The dead-simple autoresize plugin for Vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kovetskiy/vim-autoresize'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kovetskiy/vim-autoresize'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kovetskiy/vim-autoresize'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kovetskiy/vim-autoresize
Ⅳ. 文档说明
# vim-autoresize
Automatically resizes vim windows (splits) when you switch to another window.

History
I've tried autoresize.vim and
it was awesome, but it has awful limitations — works with 2 splits only.
I don't belive that reasons for such limitations are exists.
Installation
Plug 'kovetskiy/vim-autoresize'Settings
- Height of resizing window
let g:autoresize_height = 50- Width of resizing window
let g:autoresize_width = 80