Ghostty

created: Fri, 03 Jan 2025 13:07:36 GMT, modified: Sun, 05 Jan 2025 16:35:25 GMT

Ghostty is a terminal application, keybinding configuration required some digging.

See Phoenix for Quake-like console configuration.

Configuration

$HOME/.config/ghostty/config:

window-save-state = always
macos-titlebar-style = tabs
copy-on-select = true

keybind = clear
keybind = super+t=new_tab
keybind = super+physical:one=goto_tab:1
keybind = super+physical:two=goto_tab:2
keybind = super+physical:three=goto_tab:3
keybind = super+physical:four=goto_tab:4
keybind = super+physical:five=goto_tab:5
keybind = super+physical:six=goto_tab:6
keybind = super+physical:seven=goto_tab:7
keybind = super+physical:eight=goto_tab:8
keybind = super+physical:nine=goto_tab:9

keybind = super+up=jump_to_prompt:-1
keybind = super+down=jump_to_prompt:1

keybind = super+left=text:\x01
keybind = control+left=esc:b

keybind = super+right=text:\x05
keybind = control+right=esc:f

keybind = super+backspace=text:\x15
keybind = control+backspace=text:\x17

keybind = super+c=copy_to_clipboard
keybind = super+v=paste_from_clipboard
keybind = super+w=close_surface