vim-todo


Ⅰ. 插件描述

TODO list manager for vim

Ⅱ. 基本信息

创建日期:  2016-04-15
使用用户:  3
Github星:  0
插件作者:  Vikash Kesarwani

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'tibabit/vim-todo-tree-and-truth'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'tibabit/vim-todo-tree-and-truth'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'tibabit/vim-todo-tree-and-truth'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-todo Introduction and usage

todo.txt Simple TODO task manager

                          _            _       
                         | |_ ___   __| | ___  
                         | __/ _ \ / _` |/ _ \ 
                         | || (_) | (_| | (_) |
                          \__\___/ \__,_|\___/ 

        Simple and easy to use todo task manager to be used in vim 

================================================================================
CONTENTS TodoContents

1. Task List...............................|TaskList|
2. Task Types..............................|TaskTypes|
3. Key Mappings............................|KeyMapping|

=================================================================================

  1. Task List TaskList

    A task list is a group of tasks. A list starts with '#' character.
    e.g.-

    # Tasks to be done today

    A task list can contain any number of tasks or sub list. A sub list must
    always begin on the immediate line after the last task in a list.

================================================================================

  1. Task Types TaskTypes

    There are three types of tasks supported currently. Normal, Done or
    Complete and Important. Normal tasks start with a - (dash) and are
    displayed in white color. Done or complete tasks start with a . (dot)
    and are displayed in grey. Important tasks start with * (asterisk) and
    are displayed in bright yellow.

================================================================================

  1. Key Mappings KeyMapping

    Following commands are available to use in normal mode
    <m-n>   Mark a task as normal
    <m-d>   Mark a task as done/complete
    <m-i>   Mark a task as important
    

references

  1. cterm-colors : https://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg
  2. vim script reference : http://learnvimscriptthehardway.stevelosh.com/chapters/56.html
  3. command mode mapping : http://vimdoc.sourceforge.net/htmldoc/usr_40.html#40.2
  4. regex : http://vimregex.com/
  5. indentation : http://psy.swansea.ac.uk/staff/Carter/Vim/vim_indent.htm

添加新评论