tmux-text-macros
tmux-text-macros copied to clipboard
[Request] Escape for tmux special-keys
I have a few Macro's I'd like to have newlines. Adding support for escaping tmux
special keys would make this possible.
https://stackoverflow.com/questions/19313807/tmux-send-keys-syntax#19330452
@lrenaud I've just implemented this myself; it's pretty simple while you don't need builtin emojis.
See https://github.com/Str1ker17/tmux-text-macros/commit/dbd4d56293b518ea221a99b174b06abae7f760c3
And define your macro like this:
'debug-mode Enter debug Enter password Enter: Enter debug mode'
The "Enter" word will be processed as Enter key press inside the current pane.