Keybind to suppress all keybinds #22410

Open
opened 2026-01-31 08:12:27 +00:00 by claunia · 6 comments
Owner

Originally created by @ra-jain on GitHub (Oct 16, 2024).

Description of the new feature/enhancement

We have a lot of programs like vim or others which could have keybinds that map to the same which is in terminal the keyboard is kind of limited for all the possible keybinds to not be used when running this command

Proposed technical implementation details (optional)

In general we could have a keybind that maps to one key combination when pressed would disable all keybinds and when task is done we can come back

Originally created by @ra-jain on GitHub (Oct 16, 2024). # Description of the new feature/enhancement We have a lot of programs like vim or others which could have keybinds that map to the same which is in terminal the keyboard is kind of limited for all the possible keybinds to not be used when running this command # Proposed technical implementation details (optional) In general we could have a keybind that maps to one key combination when pressed would disable all keybinds and when task is done we can come back
claunia added the Area-SettingsIssue-TaskProduct-TerminalArea-TerminalControl labels 2026-01-31 08:12:28 +00:00
Author
Owner

@PriyanshSrivastava0305 commented on GitHub (Oct 17, 2024):

I think i could take a look at it. Can I ?
@ra-jain

@PriyanshSrivastava0305 commented on GitHub (Oct 17, 2024): I think i could take a look at it. Can I ? @ra-jain
Author
Owner

@ra-jain commented on GitHub (Oct 17, 2024):

Please do

@ra-jain commented on GitHub (Oct 17, 2024): Please do
Author
Owner

@PriyanshSrivastava0305 commented on GitHub (Oct 17, 2024):

Please do

on it.

@PriyanshSrivastava0305 commented on GitHub (Oct 17, 2024): > Please do on it.
Author
Owner

@zadjii-msft commented on GitHub (Oct 21, 2024):

Hmm. I can't seem to find this on the backlog, so kudos. It's a little like #5790, but instead of just a different keymap, you want to just skip all keys.

It's pretty trivial to add an action, so that should be easy. And it should be easy enough to add a flag inside TermControl / ControlCore to have it skip keybindings.

The trick I'd have here is: does activating this action skip the next key, or all keybinds till this action is triggered again? And if it's the latter, then how would the Terminal ever know to re-activate keybindings, if you can't press a keybinding to reactivate it?

But the former (just skip keybindings for the next key), that seems trivial to implement.

@zadjii-msft commented on GitHub (Oct 21, 2024): Hmm. I can't seem to find this on the backlog, so kudos. It's a little like #5790, but instead of just a different keymap, you want to just skip all keys. It's pretty trivial to add an action, so that should be easy. And it should be easy enough to add a flag inside `TermControl` / `ControlCore` to have it skip keybindings. The trick I'd have here is: does activating this action skip _the next key_, or _all keybinds till this action is triggered again_? And if it's the latter, then how would the Terminal ever know to re-activate keybindings, if you can't press a keybinding to reactivate it? But the former (just skip keybindings for the next key), that seems trivial to implement.
Author
Owner

@carlos-zamora commented on GitHub (Oct 23, 2024):

Thanks for filing. Could you provide a little more information about your scenario? Which vim are you using (in WSL? VIM for windows?) Is it one particular keybinding? /?

@carlos-zamora commented on GitHub (Oct 23, 2024): Thanks for filing. Could you provide a little more information about your scenario? Which vim are you using (in WSL? VIM for windows?) Is it one particular keybinding? /?
Author
Owner

@ra-jain commented on GitHub (Oct 28, 2024):

I had some situations with neovim on windows and my cutom keybinds like ctrl + O. It is not any particular keybinding but this could be a general improvement against all programs. Please let me know if you have any thoughts.

@ra-jain commented on GitHub (Oct 28, 2024): I had some situations with neovim on windows and my cutom keybinds like ctrl + O. It is not any particular keybinding but this could be a general improvement against all programs. Please let me know if you have any thoughts.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22410