Skip to content
Discussion options

You must be logged in to vote

Keybindings are configured in your config.yml (global config is typically $HOME/.config/gh-dash/config.yml on macOS/Linux or %USERPROFILE%\.config\gh-dash\config.yml on 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 x to do nothing):

 keybindings:
   universal:
     - key: x
       name: noop
       command: "true"

On Windows, if true isn’t available in your shell, use:

 keybindings:
   universal:
     - key: x
       n…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dlvhdr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants