mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
6 lines
481 B
Bash
6 lines
481 B
Bash
echo "Add 100-line split resizing keybindings to Ghostty"
|
|
|
|
if ! grep -q "resize_split:down,100" ~/.config/ghostty/config; then
|
|
sed -i "/keybind = control+insert=copy_to_clipboard/a\keybind = super+control+shift+alt+arrow_down=resize_split:down,100\nkeybind = super+control+shift+alt+arrow_up=resize_split:up,100\nkeybind = super+control+shift+alt+arrow_left=resize_split:left,100\nkeybind = super+control+shift+alt+arrow_right=resize_split:right,100" ~/.config/ghostty/config
|
|
fi
|