mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-09 12:37:46 +00:00
Fix ctrl+insert keybindings in kitty and ghostty too
So we can use it for super+c
This commit is contained in:
@@ -22,6 +22,7 @@ shell-integration-features = no-cursor
|
|||||||
# Keyboard bindings
|
# Keyboard bindings
|
||||||
keybind = f11=toggle_fullscreen
|
keybind = f11=toggle_fullscreen
|
||||||
keybind = shift+insert=paste_from_clipboard
|
keybind = shift+insert=paste_from_clipboard
|
||||||
|
keybind = control+insert=copy_to_clipboard
|
||||||
|
|
||||||
# SSH session terminfo
|
# SSH session terminfo
|
||||||
shell-integration-features = ssh-env
|
shell-integration-features = ssh-env
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ confirm_os_window_close 0
|
|||||||
|
|
||||||
# Keybindings
|
# Keybindings
|
||||||
map F11 toggle_fullscreen
|
map F11 toggle_fullscreen
|
||||||
|
map ctrl+insert copy_to_clipboard
|
||||||
|
|
||||||
# Allow remote access
|
# Allow remote access
|
||||||
single_instance yes
|
single_instance yes
|
||||||
@@ -23,7 +24,7 @@ allow_remote_control yes
|
|||||||
cursor_shape block
|
cursor_shape block
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
|
|
||||||
# Minimal Tab bar styling
|
# Minimal Tab bar styling
|
||||||
tab_bar_edge bottom
|
tab_bar_edge bottom
|
||||||
tab_bar_style powerline
|
tab_bar_style powerline
|
||||||
tab_powerline_style slanted
|
tab_powerline_style slanted
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
echo "Make shift+insert paste from clipboard"
|
echo "Make shift+insert paste and ctrl+insert copy from clipboard in terminal"
|
||||||
sed -i '/keybind = f11=toggle_fullscreen/a keybind = shift+insert=paste_from_clipboard' ~/.config/ghostty/config
|
|
||||||
|
# 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
|
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