All Projects → mgsloan → Todoist Shortcuts

mgsloan / Todoist Shortcuts

Licence: mit
Comprehensive keyboard shortcuts for Todoist, via browser extension

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Todoist Shortcuts

hubnav
A Chrome extension for navigating github.com via keyboard shortcuts. Quickly access issues for multiple repos, as well as your org's pages.
Stars: ✭ 96 (-57.33%)
Mutual labels:  browser-extension, keyboard-shortcuts
Keymapper
📱 An Android app that maps any keys to actions.
Stars: ✭ 207 (-8%)
Mutual labels:  keyboard-shortcuts
Coinflict Of Interest
Browser extension to show user biases on Crypto Twitter.
Stars: ✭ 142 (-36.89%)
Mutual labels:  browser-extension
Ghostskb
Smart input method switcher like a ghost
Stars: ✭ 186 (-17.33%)
Mutual labels:  keyboard-shortcuts
Rsshub Radar
🍰 Browser extension that simplifies finding and subscribing RSS and RSSHub
Stars: ✭ 2,388 (+961.33%)
Mutual labels:  browser-extension
Grasp
A reliable org-capture browser extension for Chrome/Firefox
Stars: ✭ 193 (-14.22%)
Mutual labels:  browser-extension
Synology Download Manager
An open source browser extension for adding/managing download tasks to your Synology DiskStation.
Stars: ✭ 138 (-38.67%)
Mutual labels:  browser-extension
What Hn Says Webext
Web Extension: Easily find Hacker News discussions about the page you're currently browsing.
Stars: ✭ 214 (-4.89%)
Mutual labels:  browser-extension
Hawck
Key-rebinding daemon for Linux (Wayland/X11/Console)
Stars: ✭ 198 (-12%)
Mutual labels:  keyboard-shortcuts
Awesome Browser Extensions For Github
A collection of awesome browser extensions for GitHub.
Stars: ✭ 2,255 (+902.22%)
Mutual labels:  browser-extension
Chromium Vim
Vim bindings for Google Chrome.
Stars: ✭ 2,150 (+855.56%)
Mutual labels:  keyboard-shortcuts
Find
A find-in-page extension for Chrome and Firefox that supports regular expressions.
Stars: ✭ 157 (-30.22%)
Mutual labels:  browser-extension
Init.nvim
An Opinionated Neovim Config for the Minimalists
Stars: ✭ 194 (-13.78%)
Mutual labels:  keyboard-shortcuts
Keyboardjs
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts.
Stars: ✭ 1,881 (+736%)
Mutual labels:  keyboard-shortcuts
Browser Extension
Codecov Browser Extension
Stars: ✭ 212 (-5.78%)
Mutual labels:  browser-extension
Face Mask Browser Extension
😷 A browser extension that puts masks on faces on the internet
Stars: ✭ 141 (-37.33%)
Mutual labels:  browser-extension
Macos Fn Toggle
A macOS app to quickly toggle the behavior of the fn key.
Stars: ✭ 178 (-20.89%)
Mutual labels:  keyboard-shortcuts
Azure Mask
A browser extension (Chrome, Firefox) that toggles concealment of sensitive information found in the Azure Portal web page such as Subscription Id's
Stars: ✭ 189 (-16%)
Mutual labels:  browser-extension
Ghosttext
👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
Stars: ✭ 2,614 (+1061.78%)
Mutual labels:  browser-extension
Powerkey
Remap your Macbook's power key to Forward Delete
Stars: ✭ 212 (-5.78%)
Mutual labels:  keyboard-shortcuts

todoist-shortcuts logo

todoist-shortcuts is a browser extension or greasemonkey script which adds a bunch of keyboard shortcuts to Todoist. Along with this repository, it is also available from the following places:

These keyboard shortcuts are directly inspired by the shortcuts used for GMail, which, in turn were inspired by vim-like keyboard interaction. I highly recommend enabling the advanced keyboard shortcuts if you use GMail.

So, if the choices of keypresses seem strange, stick with it! Many of the keypresses used here can also be used in GMail or even vim (or, better yet, evil-mode ;) ).

Keyboard shortcuts guide sheet

See this printable shortcuts guide, created by kimaero (see #71). This guide can also be brought up while using Todoist by pressing ?.

Keyboard shortcut details

Add tasks

keys action
q Add task
a Add new task at the bottom of the list
A Add new task at the top of the list

See the "Task Quick Add shortcuts" section of todoist's keyboard shortcuts documentation for information about shorthands to use when adding tasks. "Adding or editing tasks" is also a good section to read, which includes keyboard shortcuts not described in this document.

Navigation

keys action
j or down move cursor down
k or up move cursor up
h or left collapse nested at cursor
l or right expand nested at cursor
^ move cursor to first task
$ move cursor to last task
{ move cursor up to first section task
} move cursor down to next section
/ or f focus search input
g enter section navigation mode
shift+g navigate to task's project, or select in agenda if already on project
` select the next top section (including favorites)
~ select the previous top section (including favorites)

In "section navigation mode", the different selections in the left pane are annotated with the keys to press to navigate to that section. Sometimes the sidebar can have more than a screenful of content. While in this mode, you can scroll the left pane down and up with space and shift+space. For smaller scrolling jumps, you can also use up arrow and down arrow.

When projects have sub-projects, they are automatically expanded when the project is selected from the list. To collapse the sub-projects, just use navigation mode to select the same project again.

Manipulation of tasks at cursor

keys action
enter edit task at cursor
o add task after cursor
shift+o add task before cursor
i open task side panel (see side panel section, below)
c open comments for task at cursor
shift+r open reminders for task at cursor
+ open assign dialog for task at cursor
shift+j or shift+down move task at cursor downwards
shift+k or shift+up move task at cursor upwards
shift+l or shift+left dedent task at cursor
shift+h or shift+right indent task at cursor
shift+c clicks toggl or clockify time tracking button

Note that there are some known bugs related to task motion - see #27 and #29.

shift+c clicking of time tracking buttons supports both the toggl-button extension and clockify extension.

Selection

keys action
x add task at cursor to selection
* a select all tasks
* n or escape clear selection
* 1 add all priority 1 tasks to selection
* 2 add all priority 2 tasks to selection
* 3 add all priority 3 tasks to selection
* 4 or * 0 add all priority 4 tasks to selection
* h collapses all tasks
* l expands all tasks

Manipulation of selected items

If none are selected, then these will apply to the cursor instead.

keys action
t schedule
T schedule by editing text
d done: mark task as complete
e or # delete
& duplicate
v move to project via search prompt
@ or y open label dialog
1 set priority to 1
2 set priority to 2
3 set priority to 3
4 or 0 set priority to 4

Deleting a task via e or # is fairly similar to marking it complete via d. Here are the differences:

  1. Deleting a child task (nested under another task), it will be removed from the list. Completing a child task will mark it complete, but it will stay in the list.

  2. Deleting a Recurring Task (e.g. every day) will cause the task to no longer be scheduled.

Scheduling

When scheduling is opened via t, the following keybindings will apply:

keys date
c today (mnemonic is "current day")
t tomorrow
w next week
s suggested date (1 task), smart scheduler (many tasks), or postpone (recurring task)
r remove
backspace or delete clear and focus text date entry
enter focus text date entry without clearing it
escape exit scheduling

The "Smart Scheduler" is opened by pressing s when scheduling multiple items. Currently there are only two keybindings for the smart scheduler: enter to apply the choices, and escape to cancel.

Sorting

When viewing the inbox or a project, the following keybindings can be used to sort the tasks:

keys sorted by
s Sort by date
p Sort by priority
r Sort by assignee
n Sort by name

Bulk reschedule mode

keys action
* t enter bulk reschedule mode
v or alt+v switch to bulk move mode (see below)
escape exit bulk reschedule mode

Once bulk reschedule mode is entered, it will repeatedly bring up the reschedule dialog until there are no more tasks after the cursor. All of the normal cursor navigation keys can be used while in this mode.

Bulk move mode

keys action
* v enter bulk move mode
alt+t switch to bulk reschedule mode (see above)
escape exit bulk move mode

Once bulk move mode is entered, it will repeatedly bring up the move-to-project dialog until there are no more tasks after the cursor. By holding down alt, you can use the normal cursor navigation keys in this mode.

Task side panel

The task side panel can be opened for the task under the cursor by pressing i. Once the side panel is visible, you can use the following shortcuts:

keys action
i or escape close the task side panel
s switch to subtasks section
c switch to comments section
shift+h switch to activity section
h navigate to parent task

The rest of the bindings match the shortcuts used in other contexts. Listed here for completeness:

keys action
d done: mark task as complete
q or a or A add a subtask
t schedule
v move to project via search prompt
y or @ open label dialog
1 set priority to 1
2 set priority to 2
3 set priority to 3
4 or 0 set priority to 4
shift+r open reminders
+ open assignee dialog
e archive
# delete
shift+c clicks [toggl-button (time tracking integration extension)][toggl-button]

There are not yet shortcuts for subtask manipulation in the task view, though this is a planned future addition. See #94

Other

keys action
u or z or ctrl+z undo
f or / open search
shift+enter clicks first link in the task the cursor is on
ctrl+s manually synchronize state with server
? display keyboard shortcuts guide sheet

Note that undo only works when the "UNDO" button is visible at the bottom of the screen. Some actions are not undo-able, such as deletion or archiving multiple tasks

How to customize keyboard shortcuts

Ideally, there would be a UI for customizing keyboard shortcuts. However, it seems like this would take a substantial amount of development effort (PR contributions appreciated!). For now, you can do the following to customize the keyboard shortcuts in Chrome:

  1. Clone this repository (run git clone https://github.com/mgsloan/todoist-shortcuts)

  2. Go to chrome://extensions in the url bar, and switch from the official version of todoist-shortcuts to a local version.

    • Disable the official version of todoist-shortcuts by unchecking "Enabled".

    • Click the "Developer mode" box in the top right if it is not yet checked.

    • Click the "Load unpacked extension..." button. In the directory selecter navigate to the folder you cloned todoist-shortcuts to, and point it at the src sub-directory.

  3. Edit src/todoist-shortcuts.js in a text editor.

    • You will probably just want to edit the definition of KEY_BINDINGS near the top.

    • To disable a keybinding, put // in front of it.

    • The functions in the section marked Actions are intended to be bound directly to keys. You can also combine multiple actions via use of the sequence and ifThenElse action combiners.

    • Multiple key sequences can be bound to the same action by using a list of key sequences (like ['j', 'down']) instead of a single string for it. The docs for mousetrap may be helpful in figuring out how to express key sequences.

  4. Use ctrl+r on chrome://extensions. This causes the extension to be reloaded from your local files.

  5. If you reload Todoist, you will now be using your modified version of the extension.

I'm sure there is a similar mechanism for Firefox, but I do not use it for developing the extension, so not sure of the details.

One thing to note is that you will no longer receive automated updates. To update your locally modified extension, do the following:

  1. git stash to store your changes.

  2. git pull to fetch the most recent changes in this repository.

  3. git stash apply to bring back your changes. This may cause merge conflicts.

See the git documentation. A miscellaneous aside is that I highly recommend git from the bottom up as a guide to understanding git's data model.

todoist-shortcuts in electron application

This repository provides browser extentions for both Chrome and Firefox, and therefore augments the browser's web client of Todoist. If you wanted the todoist-shortcuts in the standalone Todoist desktop application it is not as easy/straight-forward. The following article and associated repository outline how you can achieve such a solution:

An alternative approach, suggested here, is to use google chrome's "open as window" functionality.

Development

Contributions are appreciated. See development.md for more information about development.

Supported by bounty from Doist company

Much of the work on this has been kindly supported by Amir Salihefendic of Doist company. They're awesome!

In response to a "Need a way of buying beer" issue, I've created a "Buy Me a Coffee" account. If you feel the urge to show some appreciation for this project, feel free to send me a few dollars. If not, that's fine too, I hope you enjoy using todoist-shortcuts :)

Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].