aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/keybinds.rs (follow)
Commit message (Collapse)AuthorAge
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16
|
* Add Option for Simplified Layouta-kenji2021-05-10
| | | | | | | | | | | | | * 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
* !fixup Add more Functionality to Unbinda-kenji2021-05-07
| | | | * Used the unbind
* Add more Functionality to Unbinda-kenji2021-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Config Loadinga-kenji2021-04-27
| | | | | | | | | | | | | | | * 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
* fix(keybinding): fix tab modeJan Philipp Hafer2021-04-23
| | | | dont exit on simple 'q' press
* add scroll pageHongjie Zhai2021-04-21
|
* Add Unbind for Keybindings (#241)a-kenji2021-04-17
| | | | | | | | | | * will unbind all default keybindings for now * add test for toplevel unbind * add example/default.yaml * add example/README.md
* Merge branch 'main' of https://github.com/zellij-org/zellij into ↵a-kenji2021-04-17
|\ | | | | | | unbind-default-keys
| * feat(controls): add quick navigation (#260)Aram Drevekenin2021-04-08
| | | | | | | | | | | | | | * feat(input): quick navigation * feat(ui): quick navigation * style(fmt): rustfmt
* | Add Unbind Setting for Keybindsa-kenji2021-04-17
|/ | | | | | | | | Adds the `unbind: true` and `unbind: false` flag under keybinds. Unbinds all default Keybinds. Some enums are here already for more flexible unbinds.
* Merge branch 'main' of https://github.com/zellij-org/zellij into config-filea-kenji2021-03-26
|\
| * Wrap up the plugin system refactor, running everything through update()Brooks J Rady2021-03-25
| |
| * Initial implementation of the update callback + upstream termionBrooks J Rady2021-03-23
| |
| * Merge changes from mainBrooks J Rady2021-03-23
| |\
| * | Clippy compels me to cull codeBrooks J Rady2021-03-09
| | |
| * | Deduplicate the WASM interface structsBrooks J Rady2021-03-09
| | |
* | | Move test to /unita-kenji2021-03-17
| | |
* | | Add example config file.a-kenji2021-03-12
| | |
* | | Merge 'upstream/main' into config-filea-kenji2021-03-11
|\ \ \ | | |/ | |/|
| * | feat(input): new shortcuts and ui (#220)Aram Drevekenin2021-03-11
| |/ | | | | | | | | | | | | * feat(statusbar): new shortcuts * feat(input): new shortcuts and ui * style(fmt): rustfmt
| * feat(tabs): add ability to set tab name (#212)Jonah Caplan2021-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Pokinga-kenji2021-03-11
| |
* | Poking arounda-kenji2021-03-11
| |
* | feature(input): add config filea-kenji2021-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | pokinga-kenji2021-03-05
| |
* | poke at creating Macrosa-kenji2021-03-04
|/ | | | | | | | - create config struct - create config errors - create macro struct TODO create --config option for the file
* add basic tab bar #166Jonah Caplan2021-02-25
|
* fix(input) Write user input only in Normal modea-kenji2021-02-22
| | | | | | | closes 184 Added the Action::NoOp from https://github.com/zellij-org/zellij/issues/184
* fix(clippy): use of `unwrap_or` followed by a fna-kenji2021-02-20
| | | | use of `unwrap_or` followed by a function call
* docs: first documentation step (#185)categorille2021-02-17
| | | | | | | | | | | * 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
* feat(input): new keybindings and persistent mode as default (#181)categorille2021-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* feat(ui): new keybindings and status bar (#160)Aram Drevekenin2021-02-09
| | | | | | | | | | | * work * feat(statusbar): new design and keybindings * fix(ipc): add missing const * style(fmt): rustfmt * style(input): remove accidental comment
* refactor(input): hotkeys (#132)Kyle Sutherland-Cash2021-02-05
* Initial definitions and thoughts for hotkeys * Actually document InputKey properly * Add a to string function for input keys * Define keybinds and actions; restructure * Implement hash and start on defining key bindings * Derive Serialize for input keys * Store the key strings as tuples for two-way mapping * Some string to key functions * Use termion's Key definition and implement action dispatch * Fix some borrow-checker errors * Missing keybind and command mode switching * Fix incorrect handling of spawn terminal command * fix(plugins): work with new input - tests not passing * fix(infra): stabilize tests and properly close pty sessions * style(fmt): rustfmt Co-authored-by: Brooks J Rady <b.j.rady@gmail.com> Co-authored-by: Aram Drevekenin <aram@poor.dev>