summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-07-22 19:55:21 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-07-22 19:55:21 +0400
commite58ddaedd6d5d843d289d6b9eaad5c18dc353559 (patch)
tree827d4178cd501dc609e6fe34040eeb16968256fc
parentbec34e9e57879f1b9e36d3d6fc21d1b8b7e50591 (diff)
replace ctrl with alt in zellij config for tabs
-rw-r--r--.config/zellij/config.kdl13
1 files changed, 11 insertions, 2 deletions
diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl
index 1a9e4b4..fd26736 100644
--- a/.config/zellij/config.kdl
+++ b/.config/zellij/config.kdl
@@ -58,7 +58,7 @@ keybinds clear-defaults=true {
bind "l" "Right" { MovePane "Right"; }
}
tab {
- bind "Ctrl t" { SwitchToMode "Normal"; }
+ bind "Alt t" { SwitchToMode "Normal"; }
bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
bind "h" "Left" "Up" "k" { GoToPreviousTab; }
bind "l" "Right" "Down" "j" { GoToNextTab; }
@@ -167,6 +167,15 @@ keybinds clear-defaults=true {
bind "Alt -" { Resize "Decrease"; }
bind "Alt [" { PreviousSwapLayout; }
bind "Alt ]" { NextSwapLayout; }
+ 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; }
}
shared_except "normal" "locked" {
bind "Enter" "Esc" { SwitchToMode "Normal"; }
@@ -184,7 +193,7 @@ keybinds clear-defaults=true {
bind "Ctrl o" { SwitchToMode "Session"; }
}
shared_except "tab" "locked" {
- bind "Ctrl t" { SwitchToMode "Tab"; }
+ bind "Alt t" { SwitchToMode "Tab"; }
}
shared_except "move" "locked" {
bind "Ctrl h" { SwitchToMode "Move"; }