Ⅰ. 插件描述
Mirror of http://www.vim.org/scripts/script.php?script_id=2142Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jacquesbh/showmarks'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jacquesbh/showmarks'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jacquesbh/showmarks'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jacquesbh/vim-showmarks
Ⅳ. 文档说明
Created by
Andreas Politz
Script type
utility
Description
ShowMarks
Give a visual aid to navigate marks, by displaying them as signs
(obviously needs the +signs feature).
Commands
:DoShowMarks
show marks for current buffer
:DoShowMarks!
show marks for all buffers
:NoShowMarks
disable it for current buffer
:NoShowMarks!
disable it for all buffers
:[count]ShowMarksOnce
Display marks for [count] Cursorhold
events. Mostly for mapping it like :
nnoremap ` :ShowMarksOnce<cr>`
:[count]PreviewMarks
Display marks of current buffer in pvw.
Like ':marks', but at the top of the window ;-).
[count] is the same as above.
Variables
let g:showmarks_marks = "abcdef...."
the marks you want to have displayed.
hlShowMarks
the highlight color
I suggest you lower the value of 'updatetime'.