Ⅰ. 插件描述
Shows synchronized pages of a file in multiple windowsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/mpage'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/mpage'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/mpage'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/MPage
Ⅳ. 文档说明
MPage shows a file in multiple windows, with each sequential window showing sequential lines of text, rather like a book.
Usage:
:MPage [splits]
:[splits]MPage
will split a window into "splits" pages. Subsequently, a
:MPage
will turn multi-paging off for all windows holding the current window's buffer (this doesn't "quit" the windows, it merely turns off synchronization).
A
:MPage!
will turn off multipaging for all windows in the current tab.
:MPT will toggle the current window's participation in multipaging.
:MPN will go to the next mpage-controlled window (accepts a count, too)
:MPP will go to the previous mpage-controlled window (accepts a count, too)
As always with my plugins, the latest version, albeit experimental, is available at my website: