For ST3 only. A simple calendar viewing plugin.
Example keymap:
[pre=#2D2D2D] //////////////////////////////////////////////////////////////
// Calendar Shortcuts
//////////////////////////////////////////////////////////////
{
“keys”: “ctrl+super+alt+c”],
“command”: “calendar”
},
{
“keys”: “ctrl+super+alt+shift+c”],
“command”: “calendar_lookup”
},
{
“keys”: “alt+right”],
“command”: “calendar_month_nav”,
“context”:
{
"key": "calendar_view"
}
],
"args": {"reverse": false}
},
{
"keys": "alt+left"],
"command": "calendar_month_nav",
"context":
{
"key": "calendar_view"
}
],
"args": {"reverse": true}
},[/pre]
I add this to my color scheme file to highlight holidays and the current selected day.
[pre=#2D2D2D]
name
Calendar Selected Day
scope
selected_day
settings
foreground
#2D2D2D
background
#F2777A
name
Calendar Holiday
scope
holiday
settings
foreground
#2D2D2D
background
#66CCCC
[/pre]
Holidays currently provided by holidata.net…so if its missing a holiday for your local, don’t gripe to me. In the future, I may add support for importing stuff like ical, but not right now.
Repo: github.com/facelessuser/QuickCal
Edit: repo link fixed