Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to map simple key chords like emacs? #354

Open
ChillarAnand opened this issue May 14, 2024 · 1 comment
Open

How to map simple key chords like emacs? #354

ChillarAnand opened this issue May 14, 2024 · 1 comment

Comments

@ChillarAnand
Copy link

In emacs editor, we can type "f", "j" individually and they will appear in the editor.

However if we create a key chord mapping for "fj" and press them at once, it will invoke a corresponding action.

(key-chord-define-global "fj" 'undo)

How to achieve a similar simple key chord with skhd?

@ChillarAnand ChillarAnand changed the title How map simple key chords like emacs? How to map simple key chords like emacs? May 14, 2024
@typkrft
Copy link

typkrft commented Aug 12, 2024

There's no ability to press multiple non-modifier keys as far as I'm aware. You could play around with modes. You could create a keybinding or chord, option - f for example to enter a mode, then press a single key, j; to run some command and then optionally exit the mode.

This would be closer to a leader key workflow. And the key presses would not be simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants