Ⅰ. 插件描述
:scream: buzuo(不做)list for vim/neovimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'iamcco/buzuo-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'iamcco/buzuo-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'iamcco/buzuo-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/iamcco/buzuo.vim
Ⅳ. 文档说明
# buzuo.vim
Lightweight and easy to use todo management in vim/neovim inspired by todoapp.vim
Why create this ?
Because todoapp.vim just management todo list only with the title, and i want to manage different todo list and more content for each item.

required
- denite.nvim plugin
- sqlite3
Install
example for vim-plug:
Plug 'Shougo/denite.nvim'
Plug 'iamcco/buzuo.vim'Install sqlite3:
for macos
brew install sqlite3
Usage
config:
g:buzuo_database_pathis the database path, default is:~/.buzuo/buzuo.databaseg:buzuo_category_candidateare the categories for todo list, default is:['work', 'study', 'personal']g:buzuo_category_defaultis the default category if you don't specify, default is the first one ofg:buzuo_category_candidateg:buzuo_type_candidateare the types for todo list, default is:['now', 'shortterm', 'longterm']g:buzuo_type_defaultis the default type if you don't specify, default is the first one ofg:buzuo_type_candidate
command:
:Buzuosame as:Denite buzuo, it will list the todo list with the default category and type:Buzuo listsame as:Buzuo:Buzuo initcreate the database, you need to do this once install plugin:Buzuo addadd an todo item, it can take args to specify cateogry and type::Buzuo add:workor:Buzuo add:work:now
Denite source:
:Denite buzuoshow todo list of default category and type:Denite buzuo:workshow todo list of work category and default type:Denite buzuo:work:nowshow todo list of work category and now type:Denite buzuo:/show all cateogry todo list of default type:Denite buzuo:/:/show all todo list
Denite actions:
previewpreview the content of the todo itemtogglechange the todo item's statusedit_titleedit todo item's titleedit_contentedit todo item's contentdeletedelete todo itemaddadd todo itemswitch_categoryswitch different category todo listswitch_typeswitch different type todo listswitch_statusswitch different status todo listlist_alllist all todo list
default action is
edit_content