
For ST3 only. A simple calendar viewing plugin.
Example keymap:
//////////////////////////////////////////////////////////////
// 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}
},
I add this to my color scheme file to highlight holidays and the current selected day.
<dict>
<key>name</key>
<string>Calendar Selected Day</string>
<key>scope</key>
<string>selected_day</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2D2D2D</string>
<key>background</key>
<string>#F2777A</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Calendar Holiday</string>
<key>scope</key>
<string>holiday</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2D2D2D</string>
<key>background</key>
<string>#66CCCC</string>
</dict>
</dict>
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: https://github.com/facelessuser/QuickCal
Edit: repo link fixed