mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 08:14:08 +09:00
zellij: unlock-first mode to prevent neovim keybind conflicts
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -6,8 +6,29 @@
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
pane_frames = true;
|
pane_frames = true;
|
||||||
|
default_mode = "locked";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
keybinds {
|
||||||
|
locked {
|
||||||
|
bind "Ctrl g" { SwitchToMode "normal"; }
|
||||||
|
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
||||||
|
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
||||||
|
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
||||||
|
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
||||||
|
bind "Alt n" { NewPane; }
|
||||||
|
}
|
||||||
|
normal {
|
||||||
|
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
||||||
|
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
||||||
|
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
||||||
|
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
||||||
|
bind "Alt n" { NewPane; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
layouts.dev = ''
|
layouts.dev = ''
|
||||||
layout {
|
layout {
|
||||||
pane split_direction="vertical" {
|
pane split_direction="vertical" {
|
||||||
|
|||||||
Reference in New Issue
Block a user