diff --git a/modules/applications/ghostty/config b/modules/applications/ghostty/config index 0280dd4..0e55901 100644 --- a/modules/applications/ghostty/config +++ b/modules/applications/ghostty/config @@ -9,7 +9,7 @@ window-decoration = true # keybind # Copy/Paste -keybind = ctrl+shift+c=copy_to_clipboard +keybind = performable:ctrl+shift+c=copy_to_clipboard keybind = ctrl+shift+v=paste_from_clipboard # create new tab diff --git a/modules/applications/zellij/home.nix b/modules/applications/zellij/home.nix index 3a4dbe4..98c40ee 100644 --- a/modules/applications/zellij/home.nix +++ b/modules/applications/zellij/home.nix @@ -21,6 +21,7 @@ in settings = { pane_frames = true; + copy_clipboard = "system"; copy_on_select = false; default_mode = "locked"; default_shell = "/run/current-system/sw/bin/zsh"; @@ -40,7 +41,7 @@ in bind "Alt J" { Resize "Increase Down"; } bind "Alt K" { Resize "Increase Up"; } bind "Alt L" { Resize "Increase Right"; } - bind "Alt c" { Copy; } + bind "Alt c" "Ctrl Shift c" { Copy; } } normal { bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } @@ -49,6 +50,7 @@ in bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } bind "Alt n" { NewPane; } bind "Alt t" { NewTab; } + bind "Ctrl Shift c" { Copy; } bind "Alt H" { Resize "Increase Left"; } bind "Alt J" { Resize "Increase Down"; } bind "Alt K" { Resize "Increase Up"; }