toggle_maximize.vim


Ⅰ. 插件描述

Keybinds to temporarily maximize the current window, squashing the rest.

Ⅱ. 基本信息

创建日期:  2012-10-24
使用用户:  1
Github星:  2
插件作者:  joey twiddle

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Vim can support complex window layouts, but they can put users off because
they reduce the size of the main editing window.  ToggleMaximize addresses
this issue, by allowing the user to switch between a large editor window,
and his own complex window layout.

Press Ctrl-F or Ctrl- to maximize the size of the current window, press
again to restore the original window layout.

Ctrl-V and Ctrl-H toggle maximize in vertical/horizontal direction only.

Maximization is forced to respect winminwidth and winminheight, so if you
have these set, other windows will not fully shrink to the edges.

If the user changes the size of any windows after maximizing, the script
still thinks the toggle is ON, so next time it is used it will restore your
old layout, rather than re-maximize (unlike some window managers).

添加新评论