From 43783010d414bd82fe7341d661b03e35ce941f4f Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 28 Dec 2024 09:09:30 -0600 Subject: [PATCH] add "leader" to ghostty keybinds abusing the chording, but this gets me close to my Wezterm config --- .config/ghostty/config | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/.config/ghostty/config b/.config/ghostty/config index b6a1386..5d12fda 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -7,32 +7,42 @@ font-size = 11.0 # Keys keybind = f11=toggle_fullscreen -keybind = ctrl+enter=new_split:auto -keybind = super+shift+m=toggle_split_zoom +keybind = ctrl+a>enter=new_split:auto +keybind = ctrl+a>m=toggle_split_zoom keybind = ctrl+h=goto_split:left keybind = ctrl+j=goto_split:bottom keybind = ctrl+k=goto_split:top keybind = ctrl+l=goto_split:right -keybind = super+shift+t=new_tab -keybind = super+shift+h=previous_tab -keybind = super+shift+l=next_tab -keybind = super+shift+comma=move_tab:-1 -keybind = super+shift+period=move_tab:1 +keybind = ctrl+a>c=new_tab +keybind = ctrl+a>h=previous_tab +keybind = ctrl+a>l=next_tab +keybind = ctrl+a>comma=move_tab:-1 +keybind = ctrl+a>period=move_tab:1 -keybind = ctrl+shift+w=close_surface +keybind = ctrl+a>1=goto_tab:1 +keybind = ctrl+a>2=goto_tab:2 +keybind = ctrl+a>3=goto_tab:3 +keybind = ctrl+a>4=goto_tab:4 +keybind = ctrl+a>5=goto_tab:5 +keybind = ctrl+a>6=goto_tab:6 +keybind = ctrl+a>7=goto_tab:7 +keybind = ctrl+a>8=goto_tab:8 +keybind = ctrl+a>9=goto_tab:9 + +keybind = ctrl+a>w=close_surface # Mouse mouse-hide-while-typing = true # Window -adw-toolbar-style = raised-border -background-opacity = 0.95 +adw-toolbar-style = flat +background-opacity = 0.96 cursor-invert-fg-bg = true gtk-single-instance = true gtk-tabs-location = bottom gtk-wide-tabs = false -gtk-titlebar = false +gtk-titlebar = true linux-cgroup = single-instance theme = dark:tokyonight-storm,light:tokyonight-day window-padding-balance = true