Skip to content

Commit 814afdf

Browse files
feat(ghostty): change key to resize split
1 parent ef6823d commit 814afdf

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

ghostty/.config/ghostty/config

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,24 @@ keybind = alt+j=goto_split:down
4141
# WARN: currently it works only on macOS.
4242
keybind = global:super+g=toggle_quick_terminal
4343

44+
keybind = super+ctrl+arrow_up=unbind
45+
keybind = super+ctrl+arrow_down=unbind
46+
keybind = super+ctrl+arrow_left=unbind
47+
keybind = super+ctrl+arrow_right=unbind
48+
49+
keybind = super+alt+arrow_up=resize_split:up,10
50+
keybind = super+alt+arrow_down=resize_split:down,10
51+
keybind = super+alt+arrow_left=resize_split:left,10
52+
keybind = super+alt+arrow_right=resize_split:right,10
53+
54+
4455
# Use left Option key as an Alt key on macOS.
4556
macos-option-as-alt=left
4657

4758
# jump backwards/forwards through prompt boundaries in the scrollback
4859
keybind = shift+up=jump_to_prompt:-1
4960
keybind = shift+down=jump_to_prompt:1
5061

51-
# Pass Alt key combinations to applications like Zellij
5262
macos-titlebar-style = transparent
5363
macos-titlebar-proxy-icon = hidden
5464

0 commit comments

Comments
 (0)