Ⅰ. 插件描述
todo.txt by sorting and folding +fold tag etc. on another bufferⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'callmekohei/vim-todoedit'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'callmekohei/vim-todoedit'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'callmekohei/vim-todoedit'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/callmekohei/vim-todoedit
Ⅳ. 文档说明
# vim-todoedit
vim-todoedit makes of you to edit todo.txt files by sorting and folding +fold tag etc. on another buffer.
Images
1) create todo.txt file

2) write some tasks

3) sort and fold by due date
<Space> s d
4) open another buffer
press <Space> <Space> on +- 006 due:2018-09-01 ············ line.
<Space> <Space>
5) sort and fold by @Contexts
You can get just tasks what you want.
<Space> s c
6) done a task
<Space> x
Complition
needs :
deoplete.nvim
deoplete-todoedit

repeated tasks
Before done

After done

Thanks
@thinca vim-partedit
@freitass todo.txt-vim
@dbeniamine todo.txt-vim
Requires
Keymaps
sort and fold
| press key | functions |
|---|---|
| <localleader>s | previous sort |
| <localleader>sf | +Folder |
| <localleader>ss | ++SubFolder |
| <localleader>sc | @Contexts |
| <localleader>sd | due date |
| <localleader>sx | completed task |
done and swipe
| press key | functions |
|---|---|
| <localleader>x | toggle done tasks |
| <localleader>X | Swipe tasks |
More info
see: doc/todoedit.txt