-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathghostty.conf
More file actions
55 lines (47 loc) · 1.7 KB
/
ghostty.conf
File metadata and controls
55 lines (47 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Font
font-family = "FiraCode Nerd Font"
font-family-bold = "FiraCode Nerd Font Bold"
font-family-italic = "FiraCode Nerd Font Italic"
font-family-bold-italic = "FiraCode Nerd Font Bold Italic"
font-size = 18
# Theme
theme = "Gruvbox Dark Hard"
# Cursor
cursor-style-blink = "false"
cursor-click-to-move = true
# Window
fullscreen = true
window-padding-x = 2
window-padding-y = 2
unfocused-split-opacity = 0.7
macos-titlebar-style = transparent
# Terminal
scrollback-limit = 10000000
shell-integration-features = cursor,no-sudo,title
# Keybindings - Splits (nvim-like with performable for passthrough)
keybind = super+alt+arrow_left=unbind
keybind = super+alt+arrow_right=unbind
keybind = super+alt+arrow_up=unbind
keybind = super+alt+arrow_down=unbind
keybind = performable:ctrl+h=goto_split:left
keybind = performable:ctrl+j=goto_split:bottom
keybind = performable:ctrl+k=goto_split:top
keybind = performable:ctrl+l=goto_split:right
# Keybindings - Resize splits (nvim-like, replaces default super+ctrl+arrows)
keybind = super+ctrl+arrow_left=unbind
keybind = super+ctrl+arrow_right=unbind
keybind = super+ctrl+arrow_up=unbind
keybind = super+ctrl+arrow_down=unbind
keybind = super+ctrl+h=resize_split:left,10
keybind = super+ctrl+j=resize_split:down,10
keybind = super+ctrl+k=resize_split:up,10
keybind = super+ctrl+l=resize_split:right,10
# Keybindings - Override default equalize (was super+ctrl+equal)
keybind = super+ctrl+equal=unbind
keybind = alt+shift+equal=equalize_splits
# NOTE: Vim mode for scrollback requires keytables (activate_key_table)
# which isn't available in ghostty 1.2.x - uncomment when updated to tip/main
# keybind = alt+v=activate_key_table:vim
# keybind = vim/
# keybind = vim/j=scroll_page_lines:1
# ...