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

Special formatting for .todo and .taskpaper files. Allows you to easily add, complete, and archive your tasks.
Adjust the settings to match your ideal style. Change all the markers to '-' to match taskpaper.
Any line that ends with : will be considered a header (like My Things:)
Add tags to tasks by starting them with an @, such as @important or setting a value like @due(tuesday).
This uses utf characters, so it is still valid as a plain text document.
Installation
Vundle
Place this in your .vimrc:
Plugin 'irrationalistic/vim-tasks'
... then run the following in Vim:
:source %
:PluginInstall
For Vundle version < 0.10.2, replace Plugin with Bundle above.
NeoBundle
Place this in your .vimrc:
NeoBundle 'irrationalistic/vim-tasks'
... then run the following in Vim:
:source %
:NeoBundleInstall
VimPlug
Place this in your .vimrc:
Plug 'irrationalistic/vim-tasks'
... then run the following in Vim:
:source %
:PlugInstall
Pathogen
Run the following in a terminal:
cd ~/.vim/bundle
git clone https://github.com/irrationalistic/vim-tasks
Settings Defaults
let g:TasksMarkerBase = '☐'
let g:TasksMarkerDone = '✔'
let g:TasksMarkerCancelled = '✘'
let g:TasksDateFormat = '%Y-%m-%d %H:%M'
let g:TasksAttributeMarker = '@'
let g:TasksArchiveSeparator = '___________________'
Run :help Tasks to view the full documentation.
Preset Bindings
<leader> n- new task below<leader> N- new task above<leader> d- toggle current task complete<leader> x- toggle current task cancelled<leader> a- send completed tasks to the archive