aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ghostty
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:53:14 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:54:02 -0500
commit7b6dbb921650e2a52929f025b67be57609fda6d4 (patch)
tree895416312698cfe4ac61d4eed0f071d7743c0214 /.config/ghostty
parentRemove openbsd conditional in zsh (diff)
downloaddotfiles-7b6dbb921650e2a52929f025b67be57609fda6d4.zip
Rework dotfiles to *only* contain dotfiles
Diffstat (limited to '.config/ghostty')
-rw-r--r--.config/ghostty/config78
1 files changed, 78 insertions, 0 deletions
diff --git a/.config/ghostty/config b/.config/ghostty/config
new file mode 100644
index 0000000..8aa4f43
--- /dev/null
+++ b/.config/ghostty/config
@@ -0,0 +1,78 @@
+# Run `ghostty +show-config --default --docs` to view a list of
+# all available config options and their default values.
+#
+# Each config option is also explained in detail on Ghostty's website,
+# at https://ghostty.org/docs/config.
+#theme = Catppuccin Mocha
+theme = "tokyonight"
+
+shell-integration = zsh
+command = /bin/zsh -c "tmux new -A -s home"
+adjust-cell-height = 0%
+copy-on-select = true
+
+font-family = "Hack"
+font-size = 16
+font-thicken = true
+
+mouse-hide-while-typing = true
+macos-non-native-fullscreen = visible-menu
+macos-option-as-alt = true
+macos-titlebar-style = hidden
+
+window-decoration = false
+window-padding-y = 0
+window-padding-x = 0
+window-padding-color = extend
+window-padding-balance = true
+window-save-state = always
+
+# Delete to start of line
+keybind = super+backspace=esc:w
+
+##########################
+# TMUX integration
+#
+# Prefix is Ctrl+a (\x01)
+##########################
+
+# Go to window N (Ctrl+a then number)
+keybind = super+digit_1=text:\x01\x31
+keybind = super+digit_2=text:\x01\x32
+keybind = super+digit_3=text:\x01\x33
+keybind = super+digit_4=text:\x01\x34
+keybind = super+digit_5=text:\x01\x35
+keybind = super+digit_6=text:\x01\x36
+keybind = super+digit_7=text:\x01\x37
+keybind = super+digit_8=text:\x01\x38
+keybind = super+digit_9=text:\x01\x39
+
+# New window: Cmd+t → Ctrl+a c
+keybind = super+t=text:\x01\x63
+
+# Close pane: Cmd+w → Ctrl+a x
+keybind = super+w=text:\x01\x78
+
+# Window switcher (tmux-fzf): Cmd+p → Ctrl+a w
+keybind = super+p=text:\x01\x77
+
+# Rename window: Cmd+r → Ctrl+a ,
+keybind = super+r=text:\x01\x2c
+
+# Previous window: Cmd+h → Ctrl+a p
+keybind = super+h=text:\x01\x70
+
+# Next window: Cmd+l → Ctrl+a n
+keybind = super+l=text:\x01\x6e
+
+# Horizontal split: Cmd+minus → Ctrl+a -
+keybind = super+minus=text:\x01\x2d
+
+# Vertical split: Cmd+backslash → Ctrl+a |
+keybind = super+backslash=text:\x01\x7c
+
+# Toggle zoom: Cmd+z → Ctrl+a z
+keybind = super+z=text:\x01\x7a
+
+# Reload config: Cmd+shift+r → Ctrl+a r
+keybind = super+shift+r=text:\x01\x72