Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattn/calendar-vim
calendar vimscript
https://github.com/mattn/calendar-vim
Last synced: 23 days ago
JSON representation
calendar vimscript
- Host: GitHub
- URL: https://github.com/mattn/calendar-vim
- Owner: mattn
- Created: 2009-06-18T16:36:16.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2023-02-09T12:35:22.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T10:29:05.255Z (about 1 month ago)
- Language: Vim script
- Homepage: http://www.vim.org/scripts/script.php?script_id=52
- Size: 99.6 KB
- Stars: 252
- Watchers: 16
- Forks: 42
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
calendar.vim
============`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
------------You can install `calendar.vim` in the usual way, by copying the contents of the
`plugin`, `autoload` and `doc` directories into the equivalent directories
inside `.vim`.Alternatively, if you manage your plugins using [pathogen.vim][1], you can
simply clone into the `bundle` directory:cd ~/.vim/bundle
git clone git://github.com/mattn/calendar-vimOr, using submodules:
cd ~/.vim
git submodule add git://github.com/mattn/calendar-vim bundle/calendar-vimUsage
-----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 calendarFor full documentation, install the plugin and run `:help calendar` from within
Vim.[1]: https://github.com/tpope/vim-pathogen