From a3a262c5768392b2af953436d8eb44713422456a Mon Sep 17 00:00:00 2001 From: aleidk Date: Tue, 1 Apr 2025 10:26:07 -0300 Subject: [PATCH] restore ghostty config --- config/ghostty/config | 91 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/config/ghostty/config b/config/ghostty/config index fb3ae5e..4d1ff59 100644 --- a/config/ghostty/config +++ b/config/ghostty/config @@ -1 +1,92 @@ theme = catppuccin-macchiato + +# Common + +keybind = ctrl+space>o=write_selection_file:open +keybind = ctrl+space>shift+o=write_selection_file:paste + +keybind = ctrl+space>alt+o=write_scrollback_file:open +keybind = ctrl+space>alt+shift+o=write_scrollback_file:paste + +keybind = ctrl+comma=open_config +keybind = ctrl+space>shift+r=reload_config + +keybind = ctrl+shift+c=copy_to_clipboard +keybind = ctrl+shift+i=inspector:toggle +keybind = ctrl+shift+v=paste_from_clipboard +keybind = shift+insert=paste_from_selection + +# Navigation +keybind = alt+f4=close_window +keybind = ctrl+shift+w=close_surface +keybind = ctrl+space>shift+t=close_surface +keybind = ctrl+shift+n=new_window +keybind = ctrl+shift+q=quit + +keybind = ctrl+space>shift+f=toggle_fullscreen + +keybind = ctrl+alt+j=jump_to_prompt:1 +keybind = ctrl+alt+k=jump_to_prompt:-1 + +keybind = ctrl+shift+a=select_all +keybind = shift+right=adjust_selection:right +keybind = shift+down=adjust_selection:down +keybind = shift+up=adjust_selection:up +keybind = shift+left=adjust_selection:left + +keybind = shift+end=scroll_to_bottom +keybind = shift+home=scroll_to_top +keybind = shift+page_up=scroll_page_up +keybind = shift+page_down=scroll_page_down + +# Config +keybind = ctrl+equal=increase_font_size:1 +keybind = ctrl+minus=decrease_font_size:1 +keybind = ctrl+plus=increase_font_size:1 +keybind = ctrl+zero=reset_font_size + +# Splits +keybind = ctrl+space>s=new_split:right +keybind = ctrl+space>v=new_split:down + +keybind = ctrl+space>h=goto_split:left +keybind = ctrl+space>j=goto_split:bottom +keybind = ctrl+space>k=goto_split:top +keybind = ctrl+space>l=goto_split:right + +keybind = ctrl+space>left=goto_split:left +keybind = ctrl+space>down=goto_split:bottom +keybind = ctrl+space>up=goto_split:top +keybind = ctrl+space>right=goto_split:right + +keybind = ctrl+space>m=toggle_split_zoom + +keybind = super+ctrl+left_bracket=goto_split:previous +keybind = super+ctrl+right_bracket=goto_split:next + +keybind = super+ctrl+shift+right=resize_split:right,10 +keybind = super+ctrl+shift+down=resize_split:down,10 +keybind = super+ctrl+shift+up=resize_split:up,10 +keybind = super+ctrl+shift+left=resize_split:left,10 +keybind = ctrl+space>ctrl+zero=equalize_splits + +# Tabs +keybind = ctrl+space>one=goto_tab:1 +keybind = ctrl+space>two=goto_tab:2 +keybind = ctrl+space>three=goto_tab:3 +keybind = ctrl+space>four=goto_tab:4 +keybind = ctrl+space>five=goto_tab:5 +keybind = ctrl+space>six=goto_tab:6 +keybind = ctrl+space>seven=goto_tab:7 +keybind = ctrl+space>eight=goto_tab:8 +keybind = ctrl+space>nine=last_tab + +keybind = ctrl+page_up=previous_tab +keybind = ctrl+page_down=next_tab +keybind = ctrl+shift+left=previous_tab +keybind = ctrl+shift+right=next_tab +keybind = ctrl+space>shift+tab=previous_tab +keybind = ctrl+space>tab=next_tab + +keybind = ctrl+space>t=new_tab +