aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/keybinds.rs (unfollow)
Commit message (Collapse)Author
2021-05-16Big refactor: separate crates for client, server and utilitiesKunal Mohan
2021-05-10Add Option for Simplified Layouta-kenji
* the simplified layout omits the Nerdfonts characters that are not found in every Fontset * add an optional config option to opt into the simplified ui `simplified_ui: bool` * add a config flag that allows opting into the simplified ui `zellij options --simplified-ui` * move the `clean` flag to the `setup` subcommand
2021-05-07!fixup Add more Functionality to Unbinda-kenji
* Used the unbind
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-28Defining sync keybind using default.yamlDante Pippi
2021-04-28New feature: Synchronize text sent to panesDante Pippi
2021-04-27Config Loadinga-kenji
* Configuration is now handled in this order: --config flag ZELLIJ_CONFIG_FILE env get_default_config_dir() (directories-next) HOME/.config/zellij (for mac convenience) SYSTEM_DEFAULT_CONFIG_DIR (for distributions to specify sensible defaults ontop of zellij) from assets * Fix default.yaml file * Move default.yaml file to assets directory
2021-04-23fix(keybinding): fix tab modeJan Philipp Hafer
dont exit on simple 'q' press
2021-04-21add scroll pageHongjie Zhai
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-04-17Add Unbind Setting for Keybindsa-kenji
Adds the `unbind: true` and `unbind: false` flag under keybinds. Unbinds all default Keybinds. Some enums are here already for more flexible unbinds.
2021-04-08feat(controls): add quick navigation (#260)Aram Drevekenin
* feat(input): quick navigation * feat(ui): quick navigation * style(fmt): rustfmt
2021-03-25Wrap up the plugin system refactor, running everything through update()Brooks J Rady
2021-03-23Initial implementation of the update callback + upstream termionBrooks J Rady
2021-03-17Move test to /unita-kenji
2021-03-12Add example config file.a-kenji
2021-03-11Pokinga-kenji
2021-03-11feat(input): new shortcuts and ui (#220)Aram Drevekenin
* feat(statusbar): new shortcuts * feat(input): new shortcuts and ui * style(fmt): rustfmt
2021-03-11Poking arounda-kenji
2021-03-09Clippy compels me to cull codeBrooks J Rady
2021-03-09Deduplicate the WASM interface structsBrooks J Rady
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
2021-03-08feat(tabs): add ability to set tab name (#212)Jonah Caplan
* send all tabs in vec * works but no input filtering * add event types * add event handler for tab events * fmt fixups * update tab name in place, and escape rename works * rename handle_tab_event handle_tab_rename_keypress * handle empty new_name when renaming * fix(tabs): pad active tab name too * fix(tabs): report proper length * fix(tabs): always render active tab * style(fmt): rustfmt Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-03-05pokinga-kenji
2021-03-04poke at creating Macrosa-kenji
- create config struct - create config errors - create macro struct TODO create --config option for the file
2021-02-25add basic tab bar #166Jonah Caplan
2021-02-22fix(input) Write user input only in Normal modea-kenji
closes 184 Added the Action::NoOp from https://github.com/zellij-org/zellij/issues/184
2021-02-20fix(clippy): use of `unwrap_or` followed by a fna-kenji
use of `unwrap_or` followed by a function call
2021-02-17docs: first documentation step (#185)categorille
* added some documentation to the input module * added a bunch of documentation already, doing this non-linearly * added more comments * forgot cargo ftm again oop * PR change requests applied, some forgotten/imcomplete doc added
2021-02-12feat(input): new keybindings and persistent mode as default (#181)categorille
* added some comments in the input module * InputHandler now has InputState instead of separate InputMode and permanent bool * keybinds are now associated with a Vec<Action> instead of a single Action * removing "persistent" modes alltogether to reimplement the feature, help bar broken * locked command mode by default, fixes #161, help bar still broken * status bar fixed, still a few improvements/bugs to go * better shortcut help bar contents * fixed last bits and i think we are good * modified tests according to new controls, not working * Revert "modified tests according to new controls, not working" This reverts commit f2d9421ff0169feb83dbd9b246e59b9244cafc16. * basic.rs tests now pass, not the rest * close_pane.rs tests pass, but very slowly? * compatibility.rs tests pass, very slowly as well * {layout, {move_focus_*}}.rs all working mildly slowly * {resize_*}.rs should all work but very slowly and funky, see PR comments * {tabs,toggle_fullscreen}.rs pass. Test performance issue yet to be fixed * tests now work, with a hack :| ready for merge * rustfmt + deleted references to InputState and mode persistency
2021-02-09Well, it turns out that I spent 4 hours on something impossible...Brooks J Rady