checklist.vim


Ⅰ. 插件描述

Checklist.vim - The super-simple checklist plugin.

Ⅱ. 基本信息

创建日期:  2011-05-15
使用用户:  2
Github星:  4
插件作者:  Christopher Truett

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ctruett/checklist-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ctruett/checklist-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ctruett/checklist-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

#### INSTALL
Download latest checklist.vx.x.zip, extract it in your .vim directory:

cd ~/.vim
unzip /path/to/checklist.vx.x.zip

Add the following line to your .vimrc:

au BufNewFile,BufRead *.chklst setf chklst 

CONFIGURE

If you want timestamps, add the following line to your .vimrc:

let g:checklist_use_timestamps = 1 "Default 0

USAGE

When starting to make a checklist, make sure to first set the filetype using:

:set ft=chklst

To create a checklist, use <leader>v.
To mark items as done use <leader>vv in normal mode.
To fold list items use <leader>vv on a parent (+) item in normal mode.

Basic use is <leader>v 'Name of checklist' <CR>, <leader>v for subsequent list items, <CR>, etc.

CHANGE LOG

06.03.2011 - Changed the ascii box <81> to an asterick. (Didn't really want to though!)  
06.01.2011 - Added datestamp support. 
05.28.2011 - Major Rehaul. Much faster. Added syntax file and packaged into .zip.  
05.24.2011 - Rewrote entire plugin. Should be faster and easier.  
05.16.2011 - Added sup­port for sub-items.  
05.19.2011 - Made timestamps optional, general code cleanup.

添加新评论