mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add 100-line split moves to Ghostty config
Using Super + Ctrl + Shift + Alt + Arrows
This commit is contained in:
@@ -25,6 +25,10 @@ shell-integration-features = no-cursor,ssh-env
|
|||||||
# Keyboard bindings
|
# Keyboard bindings
|
||||||
keybind = shift+insert=paste_from_clipboard
|
keybind = shift+insert=paste_from_clipboard
|
||||||
keybind = control+insert=copy_to_clipboard
|
keybind = control+insert=copy_to_clipboard
|
||||||
|
keybind = super+control+shift+alt+arrow_down=resize_split:down,100
|
||||||
|
keybind = super+control+shift+alt+arrow_up=resize_split:up,100
|
||||||
|
keybind = super+control+shift+alt+arrow_left=resize_split:left,100
|
||||||
|
keybind = super+control+shift+alt+arrow_right=resize_split:right,100
|
||||||
|
|
||||||
# Slowdown mouse scrolling
|
# Slowdown mouse scrolling
|
||||||
mouse-scroll-multiplier = 0.95
|
mouse-scroll-multiplier = 0.95
|
||||||
|
|||||||
5
migrations/1763633307.sh
Normal file
5
migrations/1763633307.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user