mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Fix ctrl+insert keybindings in kitty and ghostty too
So we can use it for super+c
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
echo "Make shift+insert paste from clipboard"
|
||||
sed -i '/keybind = f11=toggle_fullscreen/a keybind = shift+insert=paste_from_clipboard' ~/.config/ghostty/config
|
||||
echo "Make shift+insert paste and ctrl+insert copy from clipboard in terminal"
|
||||
|
||||
# Add keybindings to Alacritty
|
||||
sed -i 's/{ key = "F11", action = "ToggleFullscreen" }/{ key = "F11", action = "ToggleFullscreen" },\n{ key = "Insert", mods = "Shift", action = "Paste" },\n{ key = "Insert", mods = "Control", action = "Copy" }/' ~/.config/alacritty/alacritty.toml
|
||||
|
||||
# Add keybindings to Ghostty
|
||||
sed -i '/keybind = f11=toggle_fullscreen/a keybind = shift+insert=paste_from_clipboard\nkeybind = control+insert=copy_to_clipboard' ~/.config/ghostty/config
|
||||
|
||||
# Add keybindings to Kitty
|
||||
sed -i '/map F11 toggle_fullscreen/a map ctrl+insert copy_to_clipboard' ~/.config/kitty/kitty.conf
|
||||
|
||||
Reference in New Issue
Block a user