From 15ceb18fcb1ebd5b340f331e05a15838d829059b Mon Sep 17 00:00:00 2001 From: Jade Date: Thu, 2 Jan 2025 20:54:42 +0800 Subject: [PATCH 1/2] Improve goto_split documentation --- src/input/Binding.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/Binding.zig b/src/input/Binding.zig index b2c03b674..c9f7a443f 100644 --- a/src/input/Binding.zig +++ b/src/input/Binding.zig @@ -314,7 +314,7 @@ pub const Action = union(enum) { /// the direction given. new_split: SplitDirection, - /// Focus on a split in a given direction. + /// Focus on a split in a given direction. For example `goto_split:top`. Valid values are top, bottom, left and right. goto_split: SplitFocusDirection, /// zoom/unzoom the current split. From 80fe32be329fd47df7998796bb34b2ad7a95fed5 Mon Sep 17 00:00:00 2001 From: Jade Date: Thu, 2 Jan 2025 20:58:50 +0800 Subject: [PATCH 2/2] Update Binding.zig --- src/input/Binding.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/Binding.zig b/src/input/Binding.zig index c9f7a443f..1bcf6332d 100644 --- a/src/input/Binding.zig +++ b/src/input/Binding.zig @@ -314,7 +314,7 @@ pub const Action = union(enum) { /// the direction given. new_split: SplitDirection, - /// Focus on a split in a given direction. For example `goto_split:top`. Valid values are top, bottom, left and right. + /// Focus on a split in a given direction. For example `goto_split:top`. Valid values are top, bottom, left, right, previous and next. goto_split: SplitFocusDirection, /// zoom/unzoom the current split.