aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/unit/keybinds_test.rs (unfollow)
Commit message (Collapse)Author
2021-05-16Big refactor: separate crates for client, server and utilitiesKunal Mohan
2021-05-07Add more Functionality to Unbinda-kenji
The default keybinds can be unbound either for a specific mode, or for every mode. It supports either a list of `keybinds`, or a bool indicating that every keybind should be unbound: ``` keybinds: unbind: true ``` Will unbind every default binding. ``` keybinds: unbind: [ Ctrl: 'p'] ``` Will unbind every default `^P` binding for each mode. ``` keybinds: normal: - unbind: true ``` Will unbind every default keybind for the `normal` mode. ``` keybinds: normal: - unbind: [ Alt: 'n', Ctrl: 'g'] ``` Will unbind every default keybind for `n` and `^g` for the `normal` mode.
2021-04-17Add Unbind for Keybindings (#241)a-kenji
* will unbind all default keybindings for now * add test for toplevel unbind * add example/default.yaml * add example/README.md
2021-03-17Move test to /unita-kenji
2021-03-12Add example config file.a-kenji
2021-03-11Poking arounda-kenji
2021-03-09feature(input): add config filea-kenji
* use a simple platform dependent config location `ProjectDir` * deserialise from yaml iterate more on config format, maybe be more verbose? * make keybinds a tuple struct same size as newtype, but makes impls easier to add * merge optionally multiple keys for one keybinding easier configuration