0

There's only so many keys in a keyboard, I want limitless possibilities with key bindings by being able to bind key sequences to actions.

How can I bind an action to an extended shortcut?

Let's say

Control-x-k to    'open textedit'

I know there's no hardware limitation preventing long keyboard shortcuts, because with emacs you can do

(global-set-key (kbd "C-x k") 'open-something)

ref

3
  • Recently I scoured my shortcut list for rare gaps - I needed a shortcut to automatically type and and I found one: ctr-alt-a-n-d. Really easy to remember...
    – klanomath
    Commented Dec 5, 2019 at 2:38
  • did you mean "open sourced" when you said "sourced" ? Commented Dec 5, 2019 at 14:05
  • to scoure ≠ to source
    – klanomath
    Commented Dec 5, 2019 at 14:07

1 Answer 1

1

I don't believe that macOS will let you add key sequences in System Preference -> Keyboard -> Shortcuts. However, you should be able to do it, but you will most likely have to manually add shortcuts in plist files.

I think the answer provided here, as well as this repository, will help you create custom keyboard shortcuts.

You can also check out Keyboard Maestro's FAQ on their workarounds to key sequence shortcuts.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .