bind "Tab" { ToggleTab; SwitchToMode "locked"; }
}
renametab clear-defaults=true {
bind "Esc" { UndoRenameTab; SwitchToMode "locked"; }
}
// I'm stealing this `session` mode for a `git` namespace
session clear-defaults=true {
bind "Esc" { SwitchToMode "locked"; } // TODO rm when shared or shared_except works
bind "g" {
Run "gitui" "--polling" {
TogglePaneEmbedOrFloatingfloating;
}
}
}
scroll clear-defaults=true {
bind "Esc" { ScrollToBottom; SwitchToMode "locked"; }
bind "Alt /" { SwitchToMode "EnterSearch"; SearchInput 0; }
bind "e" { EditScrollback; SwitchToMode "Normal"; }
bind "j" { ScrollDown; }
bind "k" { ScrollUp; }
bind "[" { PageScrollUp; }
bind "]" { PageScrollDown; }
bind "{" { HalfPageScrollUp; }
bind "}" { HalfPageScrollDown; }
}
entersearch clear-defaults=true {
bind "Ctrl c" "Esc" { SwitchToMode "scroll"; }
bind "Enter" { SwitchToMode "Search"; }