aboutsummaryrefslogtreecommitdiff
path: root/src/config/keybinds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/keybinds.rs')
-rw-r--r--src/config/keybinds.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/config/keybinds.rs b/src/config/keybinds.rs
index 199076f0..de732121 100644
--- a/src/config/keybinds.rs
+++ b/src/config/keybinds.rs
@@ -350,6 +350,10 @@ pub struct Keybinds {
pub close_pane: ActionKeybinds,
pub zoom: ActionKeybinds,
pub resize_mode: ActionKeybinds,
+ pub resize_pane_left: ActionKeybinds,
+ pub resize_pane_down: ActionKeybinds,
+ pub resize_pane_up: ActionKeybinds,
+ pub resize_pane_right: ActionKeybinds,
pub toggle_sidebar: ActionKeybinds,
pub custom_commands: Vec<CustomCommandKeybind>,
}
@@ -512,6 +516,10 @@ impl Config {
close_pane: empty_action!(),
zoom: empty_action!(),
resize_mode: empty_action!(),
+ resize_pane_left: empty_action!(),
+ resize_pane_down: empty_action!(),
+ resize_pane_up: empty_action!(),
+ resize_pane_right: empty_action!(),
toggle_sidebar: empty_action!(),
custom_commands: Vec::new(),
};
@@ -653,6 +661,10 @@ impl Config {
apply_action!(keybinds.close_pane, close_pane, source);
apply_action!(keybinds.zoom, zoom, source);
apply_action!(keybinds.resize_mode, resize_mode, source);
+ apply_action!(keybinds.resize_pane_left, resize_pane_left, source);
+ apply_action!(keybinds.resize_pane_down, resize_pane_down, source);
+ apply_action!(keybinds.resize_pane_up, resize_pane_up, source);
+ apply_action!(keybinds.resize_pane_right, resize_pane_right, source);
apply_action!(keybinds.toggle_sidebar, toggle_sidebar, source);
if source == field_source!(indexed) {