mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 00:58:12 +09:00
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:
@@ -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
|
||||
|
||||
@@ -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"; }
|
||||
|
||||
Reference in New Issue
Block a user