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

Press E key to view the event list, and T key to view the task list.

Basic Usage
:Calendar

:Calendar 2000 1 1

:Calendar -view=year

:Calendar -view=year -split=vertical -width=27

:Calendar -view=year -split=horizontal -position=below -height=12

:Calendar -first_day=monday

:Calendar -view=clock

You can switch between views with < and > keys.
Concept
This is a calendar which is ...
Comfortable
The key mappings are designed to match the default mappings of Vim.
Powerful
The application can be connected to Google Calendar and used in your life.
Elegant
The appearance is carefully designed, dropping any unnecessary information.
Interesting
You can choose the calendar in Julian calendar or in Gregorian calendar.
Useful
To conclude, very useful.
Author
itchyny (https://github.com/itchyny)
License
MIT License
Installation
Manually
- Put all the files under $VIM/
pathogen-vim (https://github.com/tpope/vim-pathogen)
- Execute the following command.
git clone https://github.com/itchyny/calendar.vim ~/.vim/bundle/calendar.vim
Vundle (https://github.com/gmarik/vundle)
Add the following configuration to your vimrc.
Bundle 'itchyny/calendar.vim'- Install with
:BundleInstall.
NeoBundle (https://github.com/Shougo/neobundle.vim)
Add the following configuration to your vimrc.
NeoBundle 'itchyny/calendar.vim'- Install with
:NeoBundleInstall.
Google Calendar and Google Task
In order to view and edit calendars on Google Calendar, or task on Google Task,
add the following configurations to your vimrc file.
let g:calendar_google_calendar = 1
let g:calendar_google_task = 1It requires wget or curl.
Terms of Use
Under no circumstances we are liable for any damages (including but not limited to damages for loss of business, loss of profits, interruption or the like) arising from use of this software.
This software deals with your events and tasks.
We are not liable for any circumstances; leakage of trade secrets due to the cache files of this software, loss of important events and tasks due to any kind of bugs and absence from important meetings due to any kind of failures of this software.
This software downloads your events from Google Calendar, and your tasks from Google Task.
DO NOT use this software with important events and tasks.
This software downloads your events or tasks to the cache directory.
Please be careful with the cache directory; DO NOT share the directory with any cloud storage softwares.
This software also uploads your events and tasks to Google APIs.
While it uses https, but DO NOT use this software for confidential matters.
This software NEVER uploads your events and tasks to any other server except Google's.
However, if wget or curl command are replaced with malicious softwares, your events or tasks can be uploaded to other sites.
Please use the official softwares for the commands.