ShowMarks


Ⅰ. 插件描述

Visually shows the location of marks.

Ⅱ. 基本信息

创建日期:  2001-11-20
使用用户:  149
Github星:  60
插件作者:  Anthony Kruize

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'xsunsmile/showmarks-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'xsunsmile/showmarks-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'xsunsmile/showmarks-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

ShowMarks provides a visual representation of the location marks.
Marks are useful for jumping back and forth between interesting points in a buffer, but can be hard to keep track of without any way to see where you have placed them.  ShowMarks hopefully makes life easier by placing a sign in the leftmost column of the buffer.  The sign indicates the label of the mark and its location.
It can be toggled on and off and individual marks can be hidden(effectively removing them).

By default the following keymappings are defined:
   mt : Toggles ShowMarks on and off.
   mh : Hides an individual mark.
   ma : Hides all marks in the current buffer.
   mm : Places the next available mark.

ShowMarks requires that Vim is compiled with the +signs feature.

添加新评论