Skip to content

Conversation

@Kuba314
Copy link
Contributor

@Kuba314 Kuba314 commented Jul 26, 2023

This is done by introducing a new Command::None, which does nothing and also doesn't appear in the help menu.

To remove a default or any previously defined keybind, simply set its command like this:

[[keymaps]]
command = "None"
key_sequence = "q"

@Kuba314 Kuba314 force-pushed the allow-keybind-removal branch from 8332bc1 to 8bde0fc Compare July 28, 2023 19:32
@Kuba314
Copy link
Contributor Author

Kuba314 commented Jul 28, 2023

Just fixed the formatting error causing the pipeline to fail.

@aome510
Copy link
Owner

aome510 commented Jul 29, 2023

@Kuba314 now the CI linter clippy failed.

This is done by introducing a new `Command::None`, which does nothing
and also doesn't appear in the help menu.

To remove a default or any previously defined keybind, simply set its
command like this:
```toml
[[keymaps]]
command = "None"
key_sequence = "q"
```
@Kuba314 Kuba314 force-pushed the allow-keybind-removal branch from 8bde0fc to bb336df Compare July 29, 2023 08:41
@Kuba314
Copy link
Contributor Author

Kuba314 commented Jul 29, 2023

Oof, sorry about that. Fixed.

@aome510 aome510 merged commit eab0359 into aome510:master Jul 29, 2023
@Kuba314 Kuba314 deleted the allow-keybind-removal branch July 30, 2023 08:58
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

Successfully merging this pull request may close these issues.

2 participants