highlightmarks


Ⅰ. 插件描述

A vim plugin that highlights marks with different colors so you know where they are.

Ⅱ. 基本信息

创建日期:  2017-04-04
使用用户:  2
Github星:  7
插件作者:  Tumbler Terrall

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This project is considered finished

Highlight Marks

A vim plugin that highlights marks with different colors so you know where they are.

There are two global variables that you can specify to control the highlight coloring.

  • g:highlightMarks_colors controls what colors the gui displays and takes a list of colors (Names or RGB hex strings).
  • g:highlightMarks_cterm_colors controls what colors the terminal displays and takes a list of numbers.

Another is option is to use "signs" instead of text highlighting.

Pros:

  • Highlights whole line

Cons:

  • Has the possibility to get "de-synced" with marks
  • Creates an ugly column to the left of your code

To use signs define g:highlightMarks_useSigns as 1.

There is also a command to get rid of the highlighting if starts annoying you: :RemoveMarkHighlights. With no arguments it will clear all mark highlighting. If you give a list of characters, it will clear the highlighting for the specified marks only.

添加新评论