How do i unbind a key? #311
-
|
How do i unbind a key? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Keybindings are configured in your config.yml (global config is typically If you mean “disable a built-in default binding”: there isn’t a dedicated “unbind” flag—dash supports overriding bindings and adding custom ones. A practical workaround is to override the same key with a harmless no-op command. Example (override keybindings:
universal:
- key: x
name: noop
command: "true"On Windows, if keybindings:
universal:
- key: x
name: noop
command: "cmd /c exit 0"That effectively “unbinds” the key by replacing the action with a no-op. |
Beta Was this translation helpful? Give feedback.
Keybindings are configured in your config.yml (global config is typically
$HOME/.config/gh-dash/config.ymlon macOS/Linux or%USERPROFILE%\.config\gh-dash\config.ymlon Windows). So if you can just delete the key you want to unbind in the YAML.If you mean “disable a built-in default binding”: there isn’t a dedicated “unbind” flag—dash supports overriding bindings and adding custom ones. A practical workaround is to override the same key with a harmless no-op command.
Example (override
xto do nothing):On Windows, if
trueisn’t available in your shell, use: