Skip to content

Commit fef972d

Browse files
committed
Add Ghostty macOS-style cursor bindings
1 parent d4e6e5c commit fef972d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

dot_config/ghostty/config

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ window-decoration = true
2424
window-title-font-family = "SF Pro Rounded"
2525
macos-titlebar-style = tabs
2626
macos-window-shadow = true
27+
macos-option-as-alt = true
2728

2829
# -----------------------------------------------------------------------------
2930
# Background & Transparency
@@ -69,5 +70,17 @@ desktop-notifications = true
6970
# -----------------------------------------------------------------------------
7071
# Keybinds
7172
# -----------------------------------------------------------------------------
73+
keybind = shift+arrow_left=csi:1;2D
74+
keybind = shift+arrow_right=csi:1;2C
75+
keybind = shift+arrow_up=csi:1;2A
76+
keybind = shift+arrow_down=csi:1;2B
77+
keybind = shift+home=csi:1;2H
78+
keybind = shift+end=csi:1;2F
79+
keybind = alt+shift+arrow_left=csi:1;4D
80+
keybind = alt+shift+arrow_right=csi:1;4C
81+
keybind = super+shift+arrow_left=csi:1;2H
82+
keybind = super+shift+arrow_right=csi:1;2F
83+
keybind = super+shift+home=csi:1;2H
84+
keybind = super+shift+end=csi:1;2F
7285
keybind = super+c=csi:99;9u
7386
keybind = super+v=paste_from_clipboard

0 commit comments

Comments
 (0)