From 2dc518d8b09761478931c6756289782d7ce96ca6 Mon Sep 17 00:00:00 2001 From: Kiril Angov Date: Sat, 4 Jan 2025 12:57:38 -0500 Subject: [PATCH] Improve the documentation for move_tab keybind action --- src/input/Binding.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/input/Binding.zig b/src/input/Binding.zig index 33ed80c8b..f4d117f91 100644 --- a/src/input/Binding.zig +++ b/src/input/Binding.zig @@ -329,7 +329,7 @@ pub const Action = union(enum) { goto_tab: usize, /// Moves a tab by a relative offset. - /// Adjusts the tab position based on `offset` (e.g., -1 for left, +1 for right). + /// Adjusts the tab position based on `offset`. For example `move_tab:-1` for left, `move_tab:1` for right. /// If the new position is out of bounds, it wraps around cyclically within the tab range. move_tab: isize, @@ -341,7 +341,8 @@ pub const Action = union(enum) { /// the direction given. For example `new_split:up`. Valid values are left, right, up, down and auto. new_split: SplitDirection, - /// Focus on a split in a given direction. For example `goto_split:up`. Valid values are left, right, up, down, previous and next. + /// Focus on a split in a given direction. For example `goto_split:up`. + /// Valid values are left, right, up, down, previous and next. goto_split: SplitFocusDirection, /// zoom/unzoom the current split.