mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
fix: enable zellij copy without stealing Ctrl-C
This commit is contained in:
@@ -9,7 +9,7 @@ window-decoration = true
|
|||||||
# keybind
|
# keybind
|
||||||
|
|
||||||
# Copy/Paste
|
# Copy/Paste
|
||||||
keybind = ctrl+shift+c=copy_to_clipboard
|
keybind = performable:ctrl+shift+c=copy_to_clipboard
|
||||||
keybind = ctrl+shift+v=paste_from_clipboard
|
keybind = ctrl+shift+v=paste_from_clipboard
|
||||||
|
|
||||||
# create new tab
|
# create new tab
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ in
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
pane_frames = true;
|
pane_frames = true;
|
||||||
|
copy_clipboard = "system";
|
||||||
copy_on_select = false;
|
copy_on_select = false;
|
||||||
default_mode = "locked";
|
default_mode = "locked";
|
||||||
default_shell = "/run/current-system/sw/bin/zsh";
|
default_shell = "/run/current-system/sw/bin/zsh";
|
||||||
@@ -40,7 +41,8 @@ in
|
|||||||
bind "Alt J" { Resize "Increase Down"; }
|
bind "Alt J" { Resize "Increase Down"; }
|
||||||
bind "Alt K" { Resize "Increase Up"; }
|
bind "Alt K" { Resize "Increase Up"; }
|
||||||
bind "Alt L" { Resize "Increase Right"; }
|
bind "Alt L" { Resize "Increase Right"; }
|
||||||
bind "Alt c" { Copy; }
|
// Do not bind Ctrl+C here: it must pass through to pane processes as SIGINT.
|
||||||
|
bind "Alt c" "Ctrl Shift c" { Copy; }
|
||||||
}
|
}
|
||||||
normal {
|
normal {
|
||||||
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
||||||
@@ -49,6 +51,7 @@ in
|
|||||||
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
||||||
bind "Alt n" { NewPane; }
|
bind "Alt n" { NewPane; }
|
||||||
bind "Alt t" { NewTab; }
|
bind "Alt t" { NewTab; }
|
||||||
|
bind "Ctrl Shift c" { Copy; }
|
||||||
bind "Alt H" { Resize "Increase Left"; }
|
bind "Alt H" { Resize "Increase Left"; }
|
||||||
bind "Alt J" { Resize "Increase Down"; }
|
bind "Alt J" { Resize "Increase Down"; }
|
||||||
bind "Alt K" { Resize "Increase Up"; }
|
bind "Alt K" { Resize "Increase Up"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user