diff options
Diffstat (limited to 'dot_config/ghostty/config.tmpl')
| -rw-r--r-- | dot_config/ghostty/config.tmpl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dot_config/ghostty/config.tmpl b/dot_config/ghostty/config.tmpl new file mode 100644 index 0000000..605c6d1 --- /dev/null +++ b/dot_config/ghostty/config.tmpl @@ -0,0 +1,40 @@ +# Theme (verify: ghostty +list-themes | grep -i gruvbox) +theme = Gruvbox Dark + +# Cursor — block blink; disable shell integration cursor override +cursor-style = block +cursor-style-blink = true +shell-integration-features = no-cursor,ssh-env,ssh-terminfo + +# OSC 52 clipboard for zellij (default is "ask" which prompts each time) +clipboard-read = allow + +# Bell — request urgency hint on BEL so sway/waybar highlight the workspace +bell-features = attention,title + +# Window — no decorations (sway manages windows) +{{ if eq (default "host" (index . "machineRole")) "canonical" }} +window-decoration = auto +command = {{ .chezmoi.homeDir }}/.nix-profile/bin/zsh -l +{{ else }} +window-decoration = none +{{ end }} +confirm-close-surface = false +resize-overlay = never + +# Disable built-in tab/split keybinds (zellij handles multiplexing) +keybind = ctrl+shift+t=unbind +keybind = ctrl+shift+n=unbind +keybind = ctrl+shift+o=unbind +keybind = ctrl+shift+enter=unbind + +# Scroll keybinds (for use outside zellij) +keybind = ctrl+shift+up=scroll_page_lines:-1 +keybind = ctrl+shift+down=scroll_page_lines:1 +# Copy URL under cursor to clipboard (works inside zellij without mouse) +keybind = ctrl+shift+u=copy_url_to_clipboard + +keybind = alt+u=scroll_page_up +keybind = alt+d=scroll_page_down +keybind = alt+g=scroll_to_top +keybind = alt+shift+g=scroll_to_bottom |
