From dd5ea26cc72f3c39e9f8b4d8452a42c9c2f85442 Mon Sep 17 00:00:00 2001 From: Bartosz Zbytniewski <50180524+devzbysiu@users.noreply.github.com> Date: Sun, 18 Feb 2024 19:40:03 +0100 Subject: feat: add moving tab to other position (#3047) * feat: add moving tab to other position * docs(changelog): revert changes * test: update config snapshots * refactor: get rid of HorizontalDirection enum * refactor: cleanup code order * refactor: use debug! instead of info! * refactor: use more defensive way to switch tabs * refactor: revert tip changes * refactor: code formatting * refactor: improve invalid input notification * refactor: inline fns for calculating target index --------- Co-authored-by: Jae-Heon Ji --- default-plugins/status-bar/src/tip/data/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'default-plugins/status-bar/src/tip/data/mod.rs') diff --git a/default-plugins/status-bar/src/tip/data/mod.rs b/default-plugins/status-bar/src/tip/data/mod.rs index 1354b1ab4..731fa7772 100644 --- a/default-plugins/status-bar/src/tip/data/mod.rs +++ b/default-plugins/status-bar/src/tip/data/mod.rs @@ -8,6 +8,7 @@ mod compact_layout; mod edit_scrollbuffer; mod floating_panes_mouse; mod move_focus_hjkl_tab_switch; +mod move_tabs; mod quicknav; mod send_mouse_click_to_terminal; mod sync_tab; @@ -88,5 +89,13 @@ lazy_static! { full: compact_layout::compact_layout_full, } ), + ( + "move_tabs", + TipBody { + short: move_tabs::move_tabs_short, + medium: move_tabs::move_tabs_medium, + full: move_tabs::move_tabs_full, + } + ) ]); } -- cgit v1.2.3