diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 6c55211..a3a18e0 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -1,8 +1,8 @@ // If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true" keybinds { - normal { - // uncomment this and adjust key if using copy_on_select=false - // bind "Alt c" { Copy; } + normal clear-defaults=true { + bind "Ctrl a" { SwitchToMode "Tmux"; } + unbind "Ctrl b" } locked { bind "Ctrl g" { SwitchToMode "Normal"; } @@ -123,7 +123,7 @@ keybinds { } tmux { bind "[" { SwitchToMode "Scroll"; } - bind "Ctrl b" { Write 2; SwitchToMode "Normal"; } + bind "Ctrl a" { Write 2; SwitchToMode "Normal"; } bind "\"" { NewPane "Down"; SwitchToMode "Normal"; } bind "%" { NewPane "Right"; SwitchToMode "Normal"; } bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; } @@ -181,7 +181,7 @@ keybinds { bind "Ctrl h" { SwitchToMode "Move"; } } shared_except "tmux" "locked" { - bind "Ctrl b" { SwitchToMode "Tmux"; } + bind "Ctrl a" { SwitchToMode "Tmux"; } } shared_except "locked" { bind "Ctrl h" { @@ -220,42 +220,6 @@ keybinds { move_mod "ctrl"; }; } - - bind "Alt h" { - MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm" { - name "resize"; - payload "left"; - - resize_mod "alt"; // Optional, should be added on every command if you want to use it - }; - } - - bind "Alt j" { - MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm" { - name "resize"; - payload "down"; - - resize_mod "alt"; - }; - } - - bind "Alt k" { - MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm" { - name "resize"; - payload "up"; - - resize_mod "alt"; - }; - } - - bind "Alt l" { - MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm" { - name "resize"; - payload "right"; - - resize_mod "alt"; - }; - } } } diff --git a/.config/zellij/default-layout.kdl b/.config/zellij/default-layout.kdl deleted file mode 100644 index b960daf..0000000 --- a/.config/zellij/default-layout.kdl +++ /dev/null @@ -1,11 +0,0 @@ -layout { - pane size=1 borderless=true { - plugin location="tab-bar" - } - pane { - plugin location="https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm" - } - pane size=2 borderless=true { - plugin location="status-bar" - } -}