calendar.vim


Ⅰ. 插件描述

Open a calendar in a read-only buffer for viewing.

Ⅱ. 基本信息

创建日期:  2001-06-11
使用用户:  20
Github星:  3
插件作者:  Douglas Potts

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Requires the Unix command program 'cal' or its equivalent.  Really only provides a way of pulling up a calendar into a buffer in Vim.  The script opens a buffer if one doesn't exist.  The buffer is set up to be readonly and not modified (or modifiable if 6.0 or better).  Should work for both 5.7 and 6.0x.

Usage is:  Cal 2001   | " for current year calendar
              Cal 4 2001 | " for April of 2001 month  calendar

添加新评论