Port of @mattn calendar-vim to Vim9!
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).
The easiest if to use any plugin manager (vim-plug, minpac, etc.)
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:
: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.