vim-markify


Ⅰ. 插件描述

VIM Plugin Markify to indicate quickfix results on buffers using Signs

Ⅱ. 基本信息

创建日期:  2013-03-26
使用用户:  10
Github星:  13
插件作者:  Dhruva Sagar

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# VIM Markify

A simple, lightweight plugin for marking lines using signs for entries in
location list or quickfix lists. Location Lists are given preference over
quickfix lists.

Change Log

Version 1.1.1

Version 1.1

  • Added feature for echoing of message for line under cursor. (borrowed from
    Syntastic). This can be enabled / disabled using the

g:markify_echo_current_message option.

Version 1.0

  • Initial release, core functionality works.

Getting Started

Installation

There are 2 ways to do this

  1. I recommend installing <a
    href="https://github.com/tpope/vim-pathogen">pathogen.vim and then

adding a git submodule for your plugin:

$ cd ~/.vim
$ git submodule add git@github.com:dhruvasagar/vim-markify.git bundle/markify
  1. Copy plugin/todo-mode.vim, doc/todo-mode.txt to respective ~/.vim/plugin
    and ~/.vim/doc under UNIX or vimfiles/plugin/ and vimfiles/doc under

WINDOWS and restart VIM

Usage

When you have g:markify_autocmd = 1 (default), then markify is run on
QuickFixCmdPost event and marks the lines with signs automatically.

Markify can distinguish between errors, warnings & info messages and
uses different signs for each. By default it uses '>>' to display in the
signcolumn, however this can be changed.

If you don't wish to have markify work all the time, you can set
g:markify_autocmd = 0 in your $VIMRC. You can call :Markify to process
the current location list or quickfix list ( location lists are given
preference ) and add the signs. You can call :MarkifyClear to clear
the signs set by Markify and you can also use :MarkifyToggle to toggle
the same.

Check :h markify for more details.

Contributing

Reporting an Issue :

Contributing to code :

  • Fork it.
  • Commit your changes and give your commit message some love.
  • Push to your fork on github.
  • Open a Pull Request.

Credits

I would like to give a shout out to Scroolose for his awesome plugin <a
href="https://github.com/scrooloose/syntastic">Syntastic which gave me
the inspiration and know-how to work with signs.

I would also like to thank Tim Pope for sharing his configurations which
inspired me to build this plugin.

添加新评论