Ⅰ. 插件描述
calendar vimscriptⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'hotoo/calendar-vim-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'hotoo/calendar-vim-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'hotoo/calendar-vim-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/hotoo/calendar-vim
Ⅳ. 文档说明
安装
Put following files into .vim(vimfiles for Windows) folder:
calendar-vim
|
+- plugin
| |
| +- calendar.Vim
| |
| +- diary.vim (optional)
| |
| +- task.vim (optional)
|
+- ftplugin
| |
| +- task
| |
| +- task.vim (optional)
|
+- indent
| |
| +- task.vim (optional)
|
+- syntax
|
+- task.vim (optional)
set following code into vimrc:
let g:calendar_list = [
\ {'name': 'Tasks', 'path': 'D:\My Dropbox\tasks', 'ext': 'task'},
\ {'name': 'Diary', 'path': 'D:\My Dropbox\diary', 'ext': 'diary'},
\ ]
let g:calendar_current_idx = 1 