xit!
[x]it! support for working with todo and check list files in Sublime Text
Details
Installs
- Total 755
- Win 341
- Mac 303
- Linux 111
| Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 3 | 1 | 0 | 1 |
| Mac | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
[x]it! for Sublime Text
This Sublime Package provides syntax-highlighting, shortcuts, and auto-completions for [x]it! files.
![[x]it! demo](/readmes/img/278c75a02b41bbb142aadc073256ecbf1e955614.png)
Features
- Syntax highlighting
- Shortcut commands for toggling the item status
- Smart completions for due dates
- Type e.g.
5wand have auto-complete resolve it to the date in 5 weeks from now. Works withd(days),w(weeks),m(months), andy(years), and any number prefix.
- Type e.g.
- Some sensible default settings (e.g. indentation style)
Configuration
Keybindings for Commands
The following commands are available for you to put into your Default.sublime-keymap file.
The key combination is up to you, of course.
[
// Toggle checkbox status of the item.
// It cycles through the statuses given in the
// `xit_toggle` setting.
{ "keys": ["ctrl+shift+t"], "command": "xit_toggle" },
// Set item status to checked [x]
{ "keys": ["ctrl+shift+x"], "command": "xit_check" },
// Set item status to open [ ]
{ "keys": ["ctrl+shift+o"], "command": "xit_open" },
// Set item status to ongoing [@]
{ "keys": ["ctrl+shift+a"], "command": "xit_ongoing" },
// Set item status to obsolete [~]
{ "keys": ["ctrl+shift+n"], "command": "xit_obsolete" },
// Set item status to in-question [?]
{ "keys": ["ctrl+shift+q"], "command": "xit_in_question" },
]
Settings (Syntax Specific)
The following settings can be overriden via your syntax-specific xit.sublime-settings file.
The values shown below are the default ones.
{
// Auto-save after toggling checkboxes (via the commands `xit_check`, etc.).
"xit_auto_save": true,
// The checkbox statuses that the `xit_toggle` command
// should cycle through.
"xit_toggle": ["[ ]", "[x]"],
}
Syntax Highlighting / Colour overrides
The pre-defined syntax highlighting should look meaningful in most available colour schemes.
For [x]it! specific customisations or fixes, you can specify the following colour overrides:
markup.other.title.xitFor the item group titlemarkup.other.checkbox.open.xitFor an open checkbox:[ ]markup.other.checkbox.checked.xitFor a checked checkbox:[x]markup.other.checkbox.ongoing.xitFor an ongoing checkbox:[@]markup.other.checkbox.obsolete.xitFor an obsolete checkbox:[~]markup.other.checkbox.in-question.xitFor an in-question checkbox:[?]markup.other.priority.exclamation.xitFor the exclamation mark of the priority:!markup.other.priority.dot.xitFor the dot of the priority:.markup.other.description.xitFor the item descriptionmarkup.other.due_date.xitFor the due date within the description:-> 2022-03-27markup.other.tag.name.xitFor a tag:#examplemarkup.other.tag.value.xitFor the value of a tag:#example=value
Additionally, you can reference the following meta scopes to make adjustments based on the item status:
meta.item.status.open.xitmeta.item.status.checked.xitmeta.item.status.ongoing.xitmeta.item.status.obsolete.xitmeta.item.status.in-question.xit
Please also see here for a complete colouring example based on a dark scheme.
You can also configure Sublime to always use a specific colour scheme with [x]it!. This is especially useful if the default colours don’t work out in your regular colour scheme. You can specify this in your syntax-specific xit.sublime-settings file:
{
// Always use the Monokai scheme for [x]it!
"color_scheme": "Monokai.sublime-color-scheme"
}