xit!
[x]it! support for working with todo and check list files in Sublime Text
Details
Installs
- Total 689
- Win 303
- Mac 285
- Linux 101
Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 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 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
Mac | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Linux | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.
Features
- Syntax highlighting
- Shortcut commands for toggling the item status
- Smart completions for due dates
- Type e.g.
5w
and 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.xit
For the item group titlemarkup.other.checkbox.open.xit
For an open checkbox:[ ]
markup.other.checkbox.checked.xit
For a checked checkbox:[x]
markup.other.checkbox.ongoing.xit
For an ongoing checkbox:[@]
markup.other.checkbox.obsolete.xit
For an obsolete checkbox:[~]
markup.other.checkbox.in-question.xit
For an in-question checkbox:[?]
markup.other.priority.exclamation.xit
For the exclamation mark of the priority:!
markup.other.priority.dot.xit
For the dot of the priority:.
markup.other.description.xit
For the item descriptionmarkup.other.due_date.xit
For the due date within the description:-> 2022-03-27
markup.other.tag.name.xit
For a tag:#example
markup.other.tag.value.xit
For 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.xit
meta.item.status.checked.xit
meta.item.status.ongoing.xit
meta.item.status.obsolete.xit
meta.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"
}