diff options
| author | 2026-04-17 10:53:43 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:53:43 +0100 | |
| commit | 372c50c16c26c16f3f2e5779baf0af3d4a4758d3 (patch) | |
| tree | a9215f20616344b48ea8a6f7bcc847e09b127c1f | |
| parent | 7f16bfd3199e9d7be6cc1e5a9d36a8687aa88943 (diff) | |
| download | dotfiles-372c50c16c26c16f3f2e5779baf0af3d4a4758d3.tar.gz dotfiles-372c50c16c26c16f3f2e5779baf0af3d4a4758d3.tar.bz2 dotfiles-372c50c16c26c16f3f2e5779baf0af3d4a4758d3.zip | |
feat: add Alt+1-9 keybinds for direct tab navigation
Replicates tmux prefix+number behavior. Available in all modes
except locked.
| -rw-r--r-- | home/.config/zellij/config.kdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/home/.config/zellij/config.kdl b/home/.config/zellij/config.kdl index 791b5cd..6fd7b8a 100644 --- a/home/.config/zellij/config.kdl +++ b/home/.config/zellij/config.kdl @@ -24,6 +24,19 @@ attach_to_session true // Requires smart-splits.nvim on the neovim side. keybinds { shared_except "locked" { + // Direct tab access (Alt+number, like tmux prefix+number) + bind "Alt 1" { GoToTab 1; } + bind "Alt 2" { GoToTab 2; } + bind "Alt 3" { GoToTab 3; } + bind "Alt 4" { GoToTab 4; } + bind "Alt 5" { GoToTab 5; } + bind "Alt 6" { GoToTab 6; } + bind "Alt 7" { GoToTab 7; } + bind "Alt 8" { GoToTab 8; } + bind "Alt 9" { GoToTab 9; } + + // Seamless navigation between neovim splits and zellij panes (Ctrl h/j/k/l). + // Requires smart-splits.nvim on the neovim side. bind "Ctrl h" { MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm" { name "move_focus"; |
