Merge pull request #12 from moons-14/codex/enable-text-copying-in-zellij-with-ctrl+shift+c

Unify copy keybinding to Ctrl+Shift+C and enable system clipboard for Zellij
This commit is contained in:
2026-06-07 12:50:05 +09:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
+3 -1
View File
@@ -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"; }