vim-zoomwin


Ⅰ. 插件描述

Repo of http://vim.sourceforge.net/scripts/script.php?script_id=508 for use with Vundle or Pathogen

Ⅱ. 基本信息

创建日期:  2013-08-23
使用用户:  13
Github星:  1
插件作者:  Taylor Carpenter

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# ZoomWin vim plugin

Originally from: http://vim.sourceforge.net/scripts/script.php?script_id=508

created by

Charles Campbell

script type

utility

description

Note: version 23 or later of ZoomWin requires vim 7.2 or later

Usage:

* Press <c-w>o : the current window zooms into a full screen 
* Press <c-w>o again: the previous set of windows is restored 

Features:

The idea is to make it easy to zoom into and out of a window. ZoomWin supports normal windows, and it now also supports scratch-windows, no-name windows, and modified-buffer windows.

  • ZoomWin is a 7.2 plugin (as of v23)
  • Files are made hidden during zoom-in and restored upon zoom-out
  • All windows' file contents will be restored during zoomouts.
  • ZoomWin will clean up any temporary files it generates upon exit.
  • Session files are guaranteed to be unique to each vim session, so multiple vims can use zoom-in/out without interfering with one another

A later version may be available at http://www.drchip.org/astronaut/vim/index.html#ZOOMWIN .

When zooming in, ZoomWin's window is full sized, with no loss of screen space to status lines for other windows, unlike vimscript#1280 (ToggleOnly), for those vims compiled with the +mksession feature. For those vims without that feature, v21 ZoomWin now supports partial-zoom-in (leaves a status line behind for each window).

History:

Ron Aaron came up with the original ZoomWin and gave permission to have it posted.

install details

Use this repo with pathogen or vundle

Alternatively get the latest version of ZoomWin uses vimball, so with vim 7.1 its particularly easy to install:

  vim ZoomWin.vba.gz 
  :so % 
  :q 

With 7.0, you'll need to upgrade your vimball plugin first.

添加新评论