| Commit message (Collapse) | Author |
|
|
|
* 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
|
|
* Used the unbind
|
|
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.
|
|
|
|
|
|
* 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
|
|
dont exit on simple 'q' press
|
|
|
|
* will unbind all default keybindings for now
* add test for toplevel unbind
* add example/default.yaml
* add example/README.md
|
|
Adds the `unbind: true` and `unbind: false` flag under
keybinds.
Unbinds all default Keybinds.
Some enums are here already for more flexible unbinds.
|
|
* feat(input): quick navigation
* feat(ui): quick navigation
* style(fmt): rustfmt
|
|
|
|
|
|
|
|
|
|
|
|
* feat(statusbar): new shortcuts
* feat(input): new shortcuts and ui
* style(fmt): rustfmt
|
|
|
|
|
|
|
|
* 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
|
|
* 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>
|
|
|
|
- create config struct
- create config errors
- create macro struct
TODO create --config option for the file
|
|
|
|
closes 184
Added the Action::NoOp from
https://github.com/zellij-org/zellij/issues/184
|
|
use of `unwrap_or` followed by a function call
|
|
* 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
|
|
* 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
|
|
|