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

Keyboard shortcut to send text/characters to terminal #969

Open
lheinold opened this issue Dec 11, 2024 · 1 comment
Open

Keyboard shortcut to send text/characters to terminal #969

lheinold opened this issue Dec 11, 2024 · 1 comment

Comments

@lheinold
Copy link

Is your feature request related to a problem? Please describe.
I want to be able to configure a keyboard shortcut that can send specified text/control codes to the terminal. Xterm2 and Alacritty both support this (Xterm2 via the "send text" trigger, Alacritty via the "char" setting of a keybinding). This can be very helpful when setting up Crtl+Shift keybindings in tmux because you can remap Crtl+Shfit+ to .

Describe the solution you'd like
A new "keybindings" action called "Send text" (or similar) that sends a sequence of characters or bytes to the terminal when those keys are pressed. This action should be able to be specified multiple times as long as the keybinding is different for each.

Describe alternatives you've considered
Haven't been able to come up with anything, but open to ideas.

Additional context
While Xterm2 and Alacritty both support this, I can't use either because I'm stuck on ChromeOS which doesn't run either of them. (Technically Alacritty will run, it's just buggy). Terminator works great except for this one missing feature.

@timur-g
Copy link

timur-g commented Dec 23, 2024

As a user, wondering what you need it for. Cannot you define (one or two chars) alias/function in shell?

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