feat: add ghostty config

This commit is contained in:
Bogdan Buduroiu 2025-04-02 09:31:33 +08:00
parent 0019e74ee8
commit 92abda3a4c
Signed by: bruvduroiu
GPG key ID: A8722B2334DE9499
2 changed files with 46 additions and 3 deletions

View file

@ -3,9 +3,9 @@
# The current setup
Terminal Emulator: [Kitty](https://sw.kovidgoyal.net/kitty/)
- fast GPU accelerated terminal emulator
- removes need for tmux (appreciate it)
Terminal Emulator: [Ghostty](https://ghostty.org/)
- Zig-based terminal emulator
- uses platform-native UI & GPU acceleration (e.g. MacOS secure input for passwords)
Shell: [fish](https://fishshell.com/)
- completions

43
ghostty/config Normal file
View file

@ -0,0 +1,43 @@
### Configuration
# Font
font-family = "Hack Nerd Font Mono"
font-family-bold = "Hack Nerd Font Mono"
font-family-italic = "Hack Nerd Font Mono"
font-family-bold-italic = "Hack Nerd Font Mono"
font-family = "Hack Nerd Font Mono"
font-size = 15.0
# Theme
theme = "CutiePro"
# Cursor
cursor-style = "block"
mouse-hide-while-typing = true
background-opacity = 1
background-blur = 10
unfocused-split-opacity = 1
# Window
window-padding-x = 0
window-padding-y = 0
macos-titlebar-style = "tabs"
macos-option-as-alt = left
### Keybinds
# Splits
keybind = ctrl+a>v=new_split:right
keybind = ctrl+a>n=new_split:down
keybind = ctrl+a>z=toggle_split_zoom
keybind = alt+h=goto_split:left
keybind = alt+l=goto_split:right
keybind = alt+j=goto_split:down
keybind = alt+k=goto_split:up
# Tabs
keybind = cmd+t=new_tab
keybind = cmd+w=close_tab
keybind = ctrl+tab=next_tab
keybind = ctrl+shift>tab=previous_tab
keybind = ctrl+a>d=close_surface
# Terminal
keybind = global:cmd+grave_accent=toggle_quick_terminal