feat(zellij): set up tabnav plugin and fix some keybinds
This commit is contained in:
parent
bec1233fcc
commit
dd99ddbe61
2 changed files with 14 additions and 2 deletions
|
@ -9,3 +9,7 @@
|
|||
url = "https://github.com/chriskempson/base16-shell.git"
|
||||
refreshPeriod = "168h"
|
||||
{{- end }}
|
||||
[".config/zellij/plugins/room.wasm"]
|
||||
type = "file"
|
||||
url = "https://github.com/rvcas/room/releases/latest/download/room.wasm"
|
||||
refreshPeriod = "168h"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
|
||||
keybinds {
|
||||
unbind "Ctrl n"
|
||||
normal {
|
||||
// uncomment this and adjust key if using copy_on_select=false
|
||||
// bind "Alt c" { Copy; }
|
||||
|
@ -8,7 +9,7 @@ keybinds {
|
|||
bind "Ctrl g" { SwitchToMode "Normal"; }
|
||||
}
|
||||
resize {
|
||||
// bind "Ctrl n" { SwitchToMode "Normal"; }
|
||||
bind "Ctrl r" { SwitchToMode "Normal"; }
|
||||
bind "h" "Left" { Resize "Increase Left"; }
|
||||
bind "j" "Down" { Resize "Increase Down"; }
|
||||
bind "k" "Up" { Resize "Increase Up"; }
|
||||
|
@ -158,6 +159,13 @@ keybinds {
|
|||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt [" { PreviousSwapLayout; }
|
||||
bind "Alt ]" { NextSwapLayout; }
|
||||
bind "Ctrl u" {
|
||||
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/room.wasm" {
|
||||
floating true
|
||||
ignore_case true
|
||||
quick_jump true
|
||||
}
|
||||
}
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
||||
|
@ -166,7 +174,7 @@ keybinds {
|
|||
bind "Ctrl p" { SwitchToMode "Pane"; }
|
||||
}
|
||||
shared_except "resize" "locked" {
|
||||
bind "Ctrl n" { SwitchToMode "Resize"; }
|
||||
bind "Ctrl r" { SwitchToMode "Resize"; }
|
||||
}
|
||||
shared_except "scroll" "locked" {
|
||||
bind "Ctrl s" { SwitchToMode "Scroll"; }
|
||||
|
|
Loading…
Add table
Reference in a new issue