aboutsummaryrefslogtreecommitdiff
path: root/src/config/model.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-17 03:50:22 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-17 03:50:22 +0300
commitd743b39a2b922aa9f7c4365a0b6e53a8be68b9e6 (patch)
tree2474b99b66fe3e57ca6f6c8991063c454c8dcd2d /src/config/model.rs
parent510f56e1ce3f671a6a2457032a44188997ef0764 (diff)
chore: rename fullscreen keybinding to zoom
Diffstat (limited to 'src/config/model.rs')
-rw-r--r--src/config/model.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/config/model.rs b/src/config/model.rs
index f9522e41..60a8859c 100644
--- a/src/config/model.rs
+++ b/src/config/model.rs
@@ -119,8 +119,9 @@ pub struct KeysConfig {
pub split_horizontal: String,
/// Close the focused pane. Default: "x"
pub close_pane: String,
- /// Toggle fullscreen for the focused pane. Default: "f"
- pub fullscreen: String,
+ /// Toggle zoom for the focused pane. Default: "f"
+ #[serde(alias = "fullscreen")]
+ pub zoom: String,
/// Enter resize mode. Default: "r"
pub resize_mode: String,
/// Toggle sidebar collapse. Default: "b"
@@ -210,7 +211,7 @@ impl Default for KeysConfig {
split_vertical: "v".into(),
split_horizontal: "-".into(),
close_pane: "x".into(),
- fullscreen: "f".into(),
+ zoom: "f".into(),
resize_mode: "r".into(),
toggle_sidebar: "b".into(),
indexed: IndexedKeysConfig::default(),