Ⅰ. 插件描述
Easy peasy TODO list manager for VIM!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'codegram/vim-todo'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'codegram/vim-todo'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'codegram/vim-todo'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/codegram/vim-todo
Ⅳ. 文档说明
# vim-todo
Easy-peasy todo list manager for VIM!
Usage
Basically vim-todo works with .todo files and gives them syntax highlighting
and some special commands. There are two modes: normal and edit.
Normal mode is default. j and k let you navigate among tasks. v marks a
task as finished and x un-finishes it.
When you press e, you enter edit mode, and you can navigate the file with vim
modes normally, so you can add new tasks and change things.
You can find an example.todo file to see how a vim-todo file looks like :)
Known issues
- Filetype detect does not work. Workaround: create a todo.vim file in
your ~/.vim/ftdetect folder with the following line:
au BufRead,BufNewFile *.todo,TODO setfiletype todo