vim-altscreen


Ⅰ. 插件描述

Alternate screen setup for terminal Vim

Ⅱ. 基本信息

创建日期:  2017-02-16
使用用户:  8
Github星:  7
插件作者:  fcpg

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Vim-altscreen

Altscreen automatically toggles alternate screen features on you terminal.

No more :! output in the wrong place!

If you are using Vim in a terminal, you have probably noticed that the output
of external commmands doesn't go in the same "virtual screen" as Vim; Eg. if
you type :!ls, it looks as though you pressed <C-z>, ran ls in the
shell, then resumed Vim once you pressed a key. And when you quit Vim, you
can see the output of all external commands you ran in Vim, which is
generally not what you want.

This plugin ensures that the output of external commands run in Vim stays in
Vim's "virtual screen", and doesn't pollute your main "shell screen".

asciicast

Installation

Use your favorite method:

Help

Run :helptags (or :Helptags with Pathogen), then :help altscreen

Pluginophobia

If you don't like plugins, feel free to steal the code into your vimrc.

License

Attribution-ShareAlike 4.0 Int.

添加新评论