diff options
| author | Aram Drevekenin <aram@poor.dev> | 2022-10-05 07:44:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 07:44:00 +0200 |
| commit | 79bf6ab868cbdab1f9a3827c9b70198f54548b44 (patch) | |
| tree | 2d6fc4c1d8a79ebd727a1a5f8b6406617dd0de55 /default-plugins/status-bar/src/tip/data | |
| parent | docs(changelog): add darwin dependencies (diff) | |
| download | sl0ppij-79bf6ab868cbdab1f9a3827c9b70198f54548b44.tar.gz sl0ppij-79bf6ab868cbdab1f9a3827c9b70198f54548b44.tar.xz sl0ppij-79bf6ab868cbdab1f9a3827c9b70198f54548b44.zip | |
feat(config): switch to kdl (#1759)
* chore(config): default kdl keybindings config
* tests
* work
* refactor(config): move stuff around
* work
* tab merge layout
* work
* work
* layouts working
* work
* layout tests
* work
* work
* feat(parsing): kdl layouts without config
* refactor(kdl): move stuff around
* work
* tests(layout): add cases and fix bugs
* work
* fix(kdl): various bugs
* chore(layouts): move all layouts to kdl
* feat(kdl): shared keybidns
* fix(layout): do not count fixed panes toward percentile
* fix(keybinds): missing keybinds and actions
* fix(config): adjust default tips
* refactor(config): move stuff around
* fix(tests): make e2e tests pass
* fix(kdl): add verbose parsing errors
* fix(kdl): focused tab
* fix(layout): corret default_tab_template behavior
* style(code): fix compile warnings
* feat(cli): send actions through the cli
* fix(cli): exit only when action is done
* fix(cli): open embedded pane from floating pane
* fix(cli): send actions to other sessions
* feat(cli): command alias
* feat(converter): convert old config
* feat(converter): convert old layout and theme files
* feat(kdl): pretty errors
* feat(client): convert old YAML files on startup
* fix: various bugs and styling issues
* fix: e2e tests
* fix(screen): propagate errors after merge
* style(clippy): lower clippy level
* fix(tests): own session_name variable
* style(fmt): rustfmt
* fix(cli): various action fixes
* style(fmt): rustfmt
* fix(themes): loading of theme files
* style(fmt): rustfmt
* fix(tests): theme fixtures
* fix(layouts): better errors on unknown nodes
* fix(kdl): clarify valid node terminator error
* fix(e2e): adjust close tab test
* fix(e2e): adjust close tab test again
* style(code): cleanup some comments
Diffstat (limited to 'default-plugins/status-bar/src/tip/data')
| -rw-r--r-- | default-plugins/status-bar/src/tip/data/quicknav.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/default-plugins/status-bar/src/tip/data/quicknav.rs b/default-plugins/status-bar/src/tip/data/quicknav.rs index 59b604a7..57d60a2d 100644 --- a/default-plugins/status-bar/src/tip/data/quicknav.rs +++ b/default-plugins/status-bar/src/tip/data/quicknav.rs @@ -72,13 +72,18 @@ fn add_keybinds(help: &ModeInfo) -> Keygroups { style_key_with_modifier(&new_pane_keys, &help.style.colors) }; - let resize_keys = action_key_group( + let mut resize_keys = action_key_group( &normal_keymap, &[ &[Action::Resize(ResizeDirection::Increase)], &[Action::Resize(ResizeDirection::Decrease)], ], ); + if resize_keys.contains(&Key::Alt(CharOrArrow::Char('='))) + && resize_keys.contains(&Key::Alt(CharOrArrow::Char('+'))) + { + resize_keys.retain(|k| k != &Key::Alt(CharOrArrow::Char('='))); + } let resize = if resize_keys.is_empty() { vec![Style::new().bold().paint("UNBOUND")] } else { |
