zellij/alacritty: Ctrl+; sends F3 and switch to tmux mode

This commit is contained in:
Łukasz Pankowski 2024-02-17 20:25:41 +01:00
parent 75c21332b8
commit 253baf505e
2 changed files with 8 additions and 0 deletions

View File

@ -14,3 +14,8 @@ family = "GoMono Nerd Font"
[font.normal]
family = "GoMono Nerd Font"
[keyboard]
bindings = [
{ key = ";", mods = "Control", chars = "\u001bOR" }
]

View File

@ -125,6 +125,8 @@ keybinds clear-defaults=true {
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
bind "s" { NewPane "Down"; SwitchToMode "Normal"; }
bind "v" { NewPane "Right"; SwitchToMode "Normal"; }
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
bind "c" { NewTab; SwitchToMode "Normal"; }
bind "," { SwitchToMode "RenameTab"; }
@ -181,6 +183,7 @@ keybinds clear-defaults=true {
bind "Ctrl h" { SwitchToMode "Move"; }
}
shared_except "tmux" {
bind "F3" { SwitchToMode "Tmux"; }
bind "Ctrl b" { SwitchToMode "Tmux"; }
}
}