Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.

Overview

Sequence Shortcuts (Obsidian plugin)

This plugin allows you to use a sequences of chords for shortcuts instead of single chords.

Creating a hotkey

You can modify your hotkeys under Plugin Options > Sequence Hotkeys or Options > Community plugings > Sequence Hotkeys > Options.

You can use the search bar to filter the commands. Searches are done using space separated values separately, for example "ex co" will find a command with the description Example Command or Copy Text.

To create a hotkey for a command click the set hotkey button on the right-hand side. The hotkey component will display "Press hotkey...". Type the chords you want to use and complete the input by pressing Enter (⏎) or clicking the ✓ button. Pressing Escape (⎋) or closing the settings window will cancel the hotkey creation. To use ⏎ or ⎋ in your hotkey sequence, click on the + button and select one to add to the sequence.

Known Issues

  • If you have hotkey set in the default hotkeys, for example ⌘F, and you set a shortcut in the plugin using ⌘F ⌘W, for example, the plugin shortcut won't trigger.
Comments
  • BUG: Can't find what I setting in the plugin.

    BUG: Can't find what I setting in the plugin.

    This is a very great plugin. It solve me a lot problem what I use too many hotkeys. But I find a problem when I use it. I can't find what I setting. Look at the pic.

    1. setting ! image

    2. Done image

    I want to look what setting disappear. Example, LU Enter

    opened by YIRU69 21
  • [Feature Request] Support for SHIFT as Hotkey

    [Feature Request] Support for SHIFT as Hotkey

    Hello @moolmanruan !!!!!

    First of all, thank you very much for this amazing plugin !!!!

    As someone that uses Obsidian only with keyboard for 95% of my workflow, this is a dream 💙

    My FR

    It’s a simple FR to explain : would be amazing to be able to use SHIFT as a hotkey the same way that we have support for ENTER and ESC :)

    • I wanna use SHIFT + SHIFT + SHIFT to open Quick Switcher

    Question of SHIFT

    If you agree to implement this feature, I would like to ask if would be possible to have support SHIFT LEFT and SHIFT RIGHT

    • Would be amazing to be able to define two different hotkeys for each key :)

    Thanks for reading this !!!!! I hope you like my suggestion 🙏 🙏 🙏

    Let me know if you need more information !!!

    Have a great day 🌞

    opened by FelipeRearden 6
  • FR: add time limit on the plugin.

    FR: add time limit on the plugin.

    Hello friend. I have a good idea to improve the plugin when I get up early. Could you try to add a time limit when input sequence hotkeys? For example, when I input an interval greater than 1s, I ignore the hotkey I entered earlier. This will avoid some unnecessary errors.

    opened by YIRU69 5
  • [ FR ] Chained Commands' Execution

    [ FR ] Chained Commands' Execution

    What about having the option to invoke several [ chained ] commands with one -- or alternative [ see #2 ] -- sequence hotkey?

    The addition would make it possible to build complex "micro" workflows -- aka macros -- and elevate the plugin to the next level. It would be the natural next [ evolutionary ] step making other "hacks" obsolete.

    Thank you for considering.

    opened by StefanoRausch 4
  • [ FR ] Multiple Sequence Hotkeys for One Command

    [ FR ] Multiple Sequence Hotkeys for One Command

    What about having the option to bind different sequence hotkeys to one command?

    The core Hotkeys settings allows assigning as many combinations as one wants, which is very convenient if different keyboards are used. In my case I use an HP Elite laptop with Windows and the Apple iPad: the CTRL and the ALT / OPT keys are not in the same spot. For ease of execution I have assigned both the CTRL and the ALT / OPT variant to the same command.

    Thank you for considering.

    opened by StefanoRausch 3
  • Hide the sequence in the status bar

    Hide the sequence in the status bar

    Having this element changing with every keystroke is very distracting especially when it's also moving other elements depending on long/short keystrokes/combinations. image

    Do you have a CSS snippets that hide this element? I think it's better to have an option in the plugin settings or support that option with Style Settings plugin.

    Thanks a lot!

    opened by nhan000 2
  • (Not an issue) This plugin is freaking fantastic!  🎉

    (Not an issue) This plugin is freaking fantastic! 🎉

    Hey there, I wasn't sure where else to post this (feel free to close right away)

    In short: This plugin is FREAKING FANTASTIC!

    I'm a long-time Emacs-user it allows me to create a few essential, deeply engrained sequences that I've missed for years now.

    • Split Vertical Control-x-3
    • Split Horizontal Control-x-2
    • Focus buffer Control-x-1
    • Move focus to other buffer Control-x-o
    • Open file Control-x-f / Control-x-b

    Thank you!

    opened by akaalias 2
  • Not working right if second key of the sequence is already mapped as a hotkey

    Not working right if second key of the sequence is already mapped as a hotkey

    First off, excellent plugin! Really would be nice if Obsidian supported this natively.

    Just wanted to let you know that I've run into an issue. It's minor but....

    Basically, if I want to define a sequence, say Ctrl-K+Ctrl_H, but Ctrl-H is already mapped as a hotkey in Obsidian, it doesn't work. Or rather, if I press Ctrl-K, and then, as soon as I press Ctrl-H, the sequence handling stops and the Action assigned to Ctrl-H runs.

    However, I thought maybe if I unassigned Ctrl-H in the main hotkeys area and assign it in the SequenceHotkeys config, that might work. Sure enough, it does. So there's a pretty simple workaround, which is good.

    Just wanted you to know

    opened by drventure 1
  • [Bug] Command not triggered if modifier released between two chords

    [Bug] Command not triggered if modifier released between two chords

    If the shortcut for a command is cmd-a cmd-b, the command is triggered when you press cmd (down), a, b, cmd (up), but doesn't trigger if you press cmd (down), a, cmd (up), cmd (down), b, cmd (up).

    opened by moolmanruan 1
  • [Feature Request] Support for GLOBE Key [MacOS and iPadOS key]

    [Feature Request] Support for GLOBE Key [MacOS and iPadOS key]

    Hello again @moolmanruan !!!

    I divide my workflow inside Obsidian between Mobile (with mouse and keyboard) and Desktop.

    Since iOS15 Apple introduce a new key called Globe 🌐 enhance the support of keyboard hotkeys on iPadOS 15

    This way, I would like to suggest the support for Globe 🌐 on Sequence Hotkeys the same way thar we have support for the others modifiers keys :)

    ℹ️ This is important for iPad users because for older keyboards the user need to change the CAPS LOCK to use the Globe 🌐 . This way I lost a hotkey modifier in Obsidian :(

    61460D5E-88B7-48FF-89EF-02E6151E3A20


    Thanks for reading this !

    opened by FelipeRearden 0
  • [Feature Request] Support for SHIFT+LEFT and SHIFT+Right

    [Feature Request] Support for SHIFT+LEFT and SHIFT+Right

    Hello @moolmanruan !!!!

    This FR is about a extension of the SHIFT key where we can differentiate between SHIFT+LEFT and SHIFT+RIGHT

    My idea is to use the SHIFT+LEFT to cycle between open notes.

    SHIFT+RIGHT is used today to insert diacritics, since my mother language in Portuguese I need SHIFT to do this :)


    Thanks for reading this :)

    Have a great day !!!!

    opened by FelipeRearden 0
  • Sequence Hotkeys bindings do not display collisions with normal hotkeys binds

    Sequence Hotkeys bindings do not display collisions with normal hotkeys binds

    There is no collision UI notice. This would be a quality of life improvement, otherwise users have to make up arbitrary rules to use one or the other.

    opened by thor314 1
  • QUESTION: Any way to query the Sequence hotkey list?

    QUESTION: Any way to query the Sequence hotkey list?

    For instance, I can query the system hotkey list with the DataView plugin using Object.entries(app.commands.commands)

    Is there anything similar for the Sequence Hotkeys? What I'd like to do is query BOTH, then merge the lists and present +all+ defined hotkeys in one filterable list....

    opened by drventure 2
  • FEATURE REQUEST: Entering a hotkey in the Find area would narrow down the search results as well

    FEATURE REQUEST: Entering a hotkey in the Find area would narrow down the search results as well

    For instance, if I had three sequences that started with Ctrl-K, I could enter "Ctrl-k" in the search box and the list would narrow down to those three entries.

    opened by drventure 2
Releases(0.5.1)
Owner
Ruan Moolman
Ruan Moolman
Browser extension to add more keyboard shortcuts to TweetDeck.

TweetDeck Shortcut Plus Browser extension to add more keyboard shortcuts to TweetDeck. Keyboard shortcuts Browse Browse tweet (default: alt+b) Browse

Ryo Nakamura 5 May 26, 2022
Browser extension to add more keyboard shortcuts to twitter.com.

Twitter Shortcut Plus Browser extension to add more keyboard shortcuts to twitter.com. Keyboard shortcuts Browse Browse links in background (default:

Ryo Nakamura 6 Jun 4, 2022
Obsidian plugin: Type text shortcuts that expand into javascript generated text.

Obsidian Plugin - Text Expander JS (open beta) This Obsidian plugin allows the user to type text shortcuts that are replaced by (or "expanded into") j

Jon Heard 79 Dec 27, 2022
A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

Copy Search URL This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. T

Carlo Zottmann 6 Dec 26, 2022
Fancytree - JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkboxes, drag'n'drop, and lazy loading

Fancytree Fancytree (sequel of DynaTree 1.x) is a JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkb

Martin Wendt 2.6k Jan 9, 2023
An Obsidian plugin that provides commands for bulk enabling/disabling of plugins and CSS Snippets

An Obsidian plugin that provides commands for bulk enabling/disabling of plugins and CSS Snippets. Useful for debugging when you have many plugins or CSS snippets.

pseudometa 37 Dec 27, 2022
This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s).

Blockquote Levels This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s). Usage The

Carlo Zottmann 15 Dec 19, 2022
All terminal commands in one place (you can Contribute to it by putting latest commands and adding Readme)

Terminal-Commands All basic terminal commands in one place Show some ❤ by some repositories You can contribute to this readme If you to contribute wit

Shehzad Iqbal 7 Dec 15, 2022
Canvas-based JavaScript UI element implementing touch, keyboard, mouse and scroll wheel support.

pure-knob Initially a (circular) knob / dial control with mouse, wheel, touch and keyboard support, implemented in pure JavaScript. In addition, this

Andre Plötze 44 Nov 4, 2022
Query for CSS brower support data, combined from caniuse and MDN, including version support started and global support percentages.

css-browser-support Query for CSS browser support data, combined from caniuse and MDN, including version support started and global support percentage

Stephanie Eckles 65 Nov 2, 2022
An Obsidian plugin to paste Excel tables as Markdown tables in Obsidian editor.

Obsidian Excel to Markdown Table An Obsidian plugin to paste Excel tables as Markdown tables in Obsidian editor. Demo You can paste the copied Excel d

Ganessh Kumar 108 Jan 4, 2023
This is a plugin for Obsidian (https://obsidian.md). Can open document with `.html` and `.htm` file extensions.

Obsidian HTML reader Plugin This is a plugin for Obsidian (https://obsidian.md). Can open document with .html and .htm file extensions. Obsidian HTML

null 37 Dec 27, 2022
An Obsidian plugin that lets you browse the web within Obsidian.

Obsidian Web Browser An Obsidian plugin that allows you to browse the web within Obsidian using v1.0 tabs. The core functionality of the plugin, rende

Dion Tryban 102 Dec 28, 2022
Execute obsidian commands with short key sequences. For example, 'tp' for 'Toggle Preview' and 'tb' for 'Toggle Sidebar'. Easier to remember.

Key Sequence Shortcut Key Sequence Shortcut is an obsidian plugin, allow binding key sequences to an obsidian command. For example If we assume "t" st

Yu Wang 26 Dec 26, 2022
Run a command, watch the filesystem, stop the process on file change and then run the command again...

hubmon Run a command, watch the filesystem, stop the process on file change and then run the command again... Install You can install this command lin

Hubert SABLONNIÈRE 7 Jul 30, 2022
Dynamic (Per line/paragraph depend on language you type) RTL/LTR support plugin for Obsidian.md

In the name of Allah Obsidian Dynamic RTL Dynamic (Per line/paragraph depending on the language you type) RTL/LTR support plugin for Obsidian.md Previ

Amirreza Aliakbari 33 Jan 2, 2023
Dank Memer (Selfbot) Farm with slash commands support and random delays and breaks to avoid any suspicion

Slashy Slashy is a Dank Memer (Selfbot) Farm with slash commands support and random delays and breaks to avoid any suspicion. This is completely undet

Taha Gorme 16 Dec 30, 2022
Wrap selected text in custom tags with shortcuts.

Obsidian Wrap With Shortcuts Wrap the selected text in customized tags with shortcuts. Underline is provided with Ctrl-u(Cmd-u) as default wrappers. P

Manic Chuang 24 Dec 28, 2022