1: 在如下链接下载plugin mark
将mark.vim文件拷贝至~/.vim/plugin
2: 用法快捷键
\m mark or unmark the word under (or before) the cursor
Place the cursor under the word to be highlighted, press \m, then the word will be colored.
\r manually input a regular expression
To highlight an arbitrary regular expression, press \r and input the regexp. \n clear this mark (i.e. the mark under the cursor), or clear all highlighted mark
阅读(2242) | 评论(0) | 转发(0) |