mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:58:12 +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 = {
|
||||
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 = ''
|
||||
layout {
|
||||
pane split_direction="vertical" {
|
||||
|
||||
Reference in New Issue
Block a user