vim-unsurpriseme


Ⅰ. 插件描述

A Vim plugin which enables the SignColumn permanently.

Ⅱ. 基本信息

创建日期:  2014-12-22
使用用户:  1
Github星:  1
插件作者:  frace

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# What is vim-unsurpriseme?
vim-unsurpriseme is a plugin for the Vim editor.
Plugins like vim-gitgutter, vim-signify or syntastic
do rely on a Vim feature called signs (also known as «gutter»). These have one property in common: They blend in
symbols to the left of the editor area in specific situations.
Per default the SignColumn is only visible if there are signs to show. As a consequence the SignColumn shifts the
editor area to the right by the width of the SignColumn, which happens rather abrupt than in a smooth manner.
Therefore I wanted the SignColumn to be visible permanently, hence to behave a little bit more «unsurprisingly».

Get it!

If you don't use a plugin manager, I recommend to use vim-plug.
Else I'm pretty sure you know how your personal plugin management works. ;)

Configuration

" Show the SignColumn inside *every* buffer - default 1.
" If disabled the SignColumn will be hidden inside empty and «nofile» buffers.
let g:unsurpriseme_everywhere = 1

" Links the highlight group from SignColumn to LineNr - default 1.
" If disabled the SignColumn highlight group uses the colorscheme defaults.
let g:unsurpriseme_link_color = 1

Bugs

You are welcome to report bugs at the project bugtracker at github.com.

添加新评论