Disable tmux key bindings
Comment out tmux mode bindings, this is a better choice that deleting them because it's easier to reverse had I to change my mind in the future.
This commit is contained in:
44
config.kdl
44
config.kdl
@@ -121,25 +121,25 @@ keybinds clear-defaults=true {
|
||||
SwitchToMode "Normal"
|
||||
}
|
||||
}
|
||||
tmux {
|
||||
bind "[" { SwitchToMode "Scroll"; }
|
||||
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
||||
bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||
bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
|
||||
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||
bind "c" { NewTab; SwitchToMode "Normal"; }
|
||||
bind "," { SwitchToMode "RenameTab"; }
|
||||
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
||||
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
||||
bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
||||
bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
||||
bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
||||
bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
||||
bind "o" { FocusNextPane; }
|
||||
bind "d" { Detach; }
|
||||
bind "Space" { NextSwapLayout; }
|
||||
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||
}
|
||||
// tmux {
|
||||
// bind "[" { SwitchToMode "Scroll"; }
|
||||
// bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
||||
// bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||
// bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
|
||||
// bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||
// bind "c" { NewTab; SwitchToMode "Normal"; }
|
||||
// bind "," { SwitchToMode "RenameTab"; }
|
||||
// bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
||||
// bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
||||
// bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
||||
// bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
||||
// bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
||||
// bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
||||
// bind "o" { FocusNextPane; }
|
||||
// bind "d" { Detach; }
|
||||
// bind "Space" { NextSwapLayout; }
|
||||
// bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||
// }
|
||||
shared_except "locked" {
|
||||
bind "Alt g" { SwitchToMode "Locked"; }
|
||||
bind "Alt q" { Quit; }
|
||||
@@ -179,9 +179,9 @@ keybinds clear-defaults=true {
|
||||
shared_except "move" "locked" {
|
||||
bind "Alt m" { SwitchToMode "Move"; }
|
||||
}
|
||||
shared_except "tmux" "locked" {
|
||||
bind "Ctrl b" { SwitchToMode "Tmux"; }
|
||||
}
|
||||
// shared_except "tmux" "locked" {
|
||||
// bind "Ctrl b" { SwitchToMode "Tmux"; }
|
||||
// }
|
||||
}
|
||||
|
||||
plugins {
|
||||
|
||||
Reference in New Issue
Block a user