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

Add keystrokes in macro? #12209

Closed
nednoodlehead opened this issue Dec 7, 2024 · 1 comment
Closed

Add keystrokes in macro? #12209

nednoodlehead opened this issue Dec 7, 2024 · 1 comment
Labels
C-enhancement Category: Improvements

Comments

@nednoodlehead
Copy link

Apologies if this exists, I did not find much when searching.

In my config, I can set these macros:
9 = ["select_all", "delete_selection", "paste_clipboard_before"]

However, it does not seem possible to add keystrokes into the macro, for example, if I want to select all instances of "example", I would want to change it to:
9 = ["select_all", "delete_selection", "paste_clipboard_before", "search", "example"]

(keep in mind that paste_clipboard_before has the whole document selected
Now, this fails because "example" is not a command, which makes sense. But is there some way to escape it? Or specify that the next letters are to be inputted and not interpreted as a command?

@nednoodlehead nednoodlehead added the C-enhancement Category: Improvements label Dec 7, 2024
@gabydd
Copy link
Member

gabydd commented Dec 7, 2024

This can be done with macro keybindings: #4709 was merged after the last release so you will have to be using master to use them

@gabydd gabydd closed this as completed Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants