From: Ruben Beltran del Rio Date: Tue, 17 Dec 2024 22:45:39 +0000 (+0100) Subject: Use cmd for kitty layout shortcuts X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/2a122cd917c3c3a043304981d3a0cf93439b918f Use cmd for kitty layout shortcuts --- diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index bdce07f..5bc1968 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -136,31 +136,30 @@ color15 #ffffff hide_window_decorations titlebar-only window_margin_width 10 5 5 tab_bar_style separator +tab_separator " ⁣ " tab_bar_margin_width 5.0 +enabled_layouts splits,tall,fat,grid,stack + # keyboard macos_option_as_alt left # Splits and Navigation, Tmux Style -map ctrl+a>- launch --location=hsplit -map ctrl+a>| launch --location=vsplit +map cmd+a>- launch --location=hsplit +map cmd+a>| launch --location=vsplit # map f7 layout_action rotate -# Switch focus to the neighboring window in the indicated direction -map ctrl+a>h neighboring_window left -map ctrl+a>l neighboring_window right -map ctrl+a>k neighboring_window up -map ctrl+a>j neighboring_window down +# Navigate Windows +map cmd+a>h neighboring_window left +map cmd+a>l neighboring_window right +map cmd+a>k neighboring_window up +map cmd+a>j neighboring_window down # Move the active window in the indicated direction -map shift+up move_window up -map shift+left move_window left -map shift+right move_window right -map shift+down move_window down - -# Move the active window to the indicated screen edge -map ctrl+shift+up layout_action move_to_screen_edge top -map ctrl+shift+left layout_action move_to_screen_edge left -map ctrl+shift+right layout_action move_to_screen_edge right -map ctrl+shift+down layout_action move_to_screen_edge bottom +map cmd+a>shift+h move_window left +map cmd+a>shift+l move_window right +map cmd+a>shift+k move_window up +map cmd+a>shift+j move_window down +map cmd+a>, set_tab_title +map cmd+a>z toggle_layout stack