Ⅰ. 插件描述
Vim syntax highlighting for TODO lists, à-la OrgmodeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'metalelf0/vimt0d0'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'metalelf0/vimt0d0'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'metalelf0/vimt0d0'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/metalelf0/vimt0d0
Ⅳ. 文档说明
# vimt0d0 - Vim syntax highlighting for TODO lists, à-la Orgmode
Screenshots




From top-left, clockwise: Codeschool, Rootwater, Tutticolori, Smyck
Usage
This syntax highlighting supports three different formats for todo
entries:
[ ] new entry
[...] in progress entry
[X] complete entry
It uses String, Special and Comment syntax definitions, so it works
with almost any colorscheme.
Comments
It also supports commenting ( # char to the end of line) and highlights the
following words in comments: TODO, FIXME, XXX, NOTE, WTF, and ???.
Filetype
It automatically works with .t0d0 files. If you want to try it on another
file, choose this syntax with
:set filetype=vimt0d0
Installing
Note: I recommend using Tim Pope's pathogen plugin to install this
- See here. If
you've installed pathogen properly you can install vimt0d0 with the
following commands:
$ cd ~/.vim/bundle
$ git clone https://github.com/metalelf0/vimt0d0.git