maximize.vim


Ⅰ. 插件描述

Maximizing and restoring window for GUI Vim

Ⅱ. 基本信息

创建日期:  2016-05-25
使用用户:  1
Github星:  2
插件作者:  itmammoth

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# maximize.vim

maximize.vim gives you a quick shortcut for maximizing/restoring window for GUI Vim.

Installation

vim-plug

Add this to your .vimrc file.

Plug 'itmammoth/maximize.vim'

Then, :PlugInstall

dein.vim

Add this to your .vimrc file.

call dein#add('itmammoth/maximize.vim')

Then, :call dein#install()

Vundle

Plugin 'itmammoth/maximize.vim'

... and many other package managers.

Usage

Press <F10>, and your window will be maxmized.
To restore window, press <F10> again.

NOTICE:

maxmize.vim won't be activated in CUI vim.

Configuration

If you want to map it on other keys, Add the following to your .vimrc file.

let g:maximize_default_mapping = 0
nnoremap YOUR_PREFERRED_KEY :MaximizeWindow<CR>

Contribution

Fork it. blankslate.g?vimrc are essential vim script files for testing.

$ gvim -u blankslate.vimrc -U blankslate.gvimrc

License

MIT License.

添加新评论