resize.vim


Ⅰ. 插件描述

Resize a vertical or horizontal split screen

Ⅱ. 基本信息

创建日期:  2017-11-10
使用用户:  2
Github星:  2
插件作者:  Yuexun Jiang

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ahonn/resize-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ahonn/resize-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ahonn/resize-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ahonn/resize.vim

Ⅳ. 文档说明

## resize.vim
Resize a vertical or horizontal split screen

Installation

If you don't already use a plugin manager, I recommend vim-plug

  • vim-plug
Plug 'ahonn/resize.vim'
  • Vundle
Plugin 'ahonn/resize.vim'
  • Pathogen
cd ~/.vim/bundle
git clone git://github.com/ahonn/resize.vim.git

Configuration

  • g:resize_size
    Set the resize step size, default value is 1.
  • g:resize_disable_mappings
    Disable default key bindings, default value is 0.

By defalut, the key bindings:

  • <S-Up> :ResizeUp
  • <S-Down> :ResizeDown
  • <S-Left> :ResizeLeft
  • <S-Right> :ResizeRight

License

Copyright (c) Richard Jiang. Distributed under the same terms as Vim itself. See :help license.

添加新评论