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

Document unbound command #211

Closed
andreykaipov opened this issue Dec 27, 2020 · 1 comment
Closed

Document unbound command #211

andreykaipov opened this issue Dec 27, 2020 · 1 comment
Assignees

Comments

@andreykaipov
Copy link

The previous version of the docs that were removed in PR microsoft/terminal#7649 had detailed documentation and motivation for the "unbound" action:

Unbinding keys

If you ever come across a key binding that you're unhappy with, it's possible to
easily change the keybindings. For example, vim uses Ctrl+^ as a
binding for "switch to previous buffer", which conflicts with the Terminal's
default keybinding for "open a new tab with the sixth profile". If you'd like to
unbind that keybinding, and allow the keystroke to fall through to vim, you can
add the following to your keybindings:

{
   "command" : null, "keys" : ["ctrl+shift+6"]
},

And mentioned further in another section:

If you'd like to unbind a keystroke that's bound to an action in the default
keybindings, you can set the "command" to "unbound" or null. This will
allow the keystroke to fallthrough to the commandline application instead of
performing the default action.

The poor unbound action has now been relegated to a tiny section on this page without even an example for it:

https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions#unbind-keys

😢

@mattwojo
Copy link
Collaborator

Finally got around to adding an update with this additional info / context and giving the poor relegated unbound action some love! <3 Thanks for calling this out @andreykaipov! :)
69655c9

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