dorkhub

calendar-vim

A calendar window for Vim

mattn
Vim Script27146 forksupdated 3 months ago
git clone https://github.com/mattn/calendar-vim.gitmattn/calendar-vim

calendar.vim

Test

calendar.vim creates a calendar window you can use within vim. It is useful in its own right as a calendar-inside-vim. It also provides hooks to customise its behaviour, making it a good basis for writing new plugins which require calendar functionality (see :help calendar-hooks for more information).

Installation

Using vim-plug, add the following to your .vimrc:

Plug 'mattn/calendar-vim'

Then run :PlugInstall.

Usage

Bring up a calendar based on today's date in a vertically split window:

:Calendar

Bring up a calendar showing November, 1991 (The month Vim was first released):

:Calendar 1991 11

The above calendars can alternatively be displayed in a horizontally split window:

:CalendarH

Bring up a full-screen calendar:

:CalendarT

Fast mappings are provided:

  • <LocalLeader>cal: Vertically-split calendar
  • <LocalLeader>caL: Horizontally-split calendar

For full documentation, install the plugin and run :help calendar from within Vim.

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

more like this

ForwardWidgets

Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…

JavaScript247

vim-dap

Vim/Neovim debugger plugin providing a terminal interface to the Debug Adapter Protocol

Vim Script50

vim-halo

:innocent: Visual highlight for your cursor.

Vim script50

search

search projects, people, and tags