Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'roxma/vim-window-resize-easy'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'roxma/vim-window-resize-easy'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'roxma/vim-window-resize-easy'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/roxma/vim-window-resize-easy
Ⅳ. 文档说明
# vim-window-resize-easy
This is a very simple plugin that hacks vim's builtin window resizing keys,
inspired by tmux's window resizing keys.
Normally when you need to decrease vim's window horizontally, you may need to
press <c-w>< <c-w>< <c-w>< ...
With vim-window-resize-easy, after pressing <c-w><, you only need to repeat
the action with < < <. If you don't press any key in 2 seconds, it
returns to normal mode automatically.
Keys supported in resizing mode:
There're all builtin keys combined with <c-w> for window resizing on vim.
Type :help resize for more information.
<horizontal smaller>horizontal greater-vertical decrease+vertical increase=equalize_maximize|vertical maximize
Requirement
- vim 7.4.1952+ or neovim (with timers support)
Happy editting!