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:
2024-08-15 17:09:13 +02:00
parent c4e8b55b42
commit f62ccd4398

View File

@@ -121,25 +121,25 @@ keybinds clear-defaults=true {
SwitchToMode "Normal" SwitchToMode "Normal"
} }
} }
tmux { // tmux {
bind "[" { SwitchToMode "Scroll"; } // bind "[" { SwitchToMode "Scroll"; }
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; } // bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
bind "\"" { NewPane "Down"; SwitchToMode "Normal"; } // bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
bind "%" { NewPane "Right"; SwitchToMode "Normal"; } // bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; } // bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
bind "c" { NewTab; SwitchToMode "Normal"; } // bind "c" { NewTab; SwitchToMode "Normal"; }
bind "," { SwitchToMode "RenameTab"; } // bind "," { SwitchToMode "RenameTab"; }
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; } // bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
bind "n" { GoToNextTab; SwitchToMode "Normal"; } // bind "n" { GoToNextTab; SwitchToMode "Normal"; }
bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; } // bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; } // bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; } // bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; } // bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
bind "o" { FocusNextPane; } // bind "o" { FocusNextPane; }
bind "d" { Detach; } // bind "d" { Detach; }
bind "Space" { NextSwapLayout; } // bind "Space" { NextSwapLayout; }
bind "x" { CloseFocus; SwitchToMode "Normal"; } // bind "x" { CloseFocus; SwitchToMode "Normal"; }
} // }
shared_except "locked" { shared_except "locked" {
bind "Alt g" { SwitchToMode "Locked"; } bind "Alt g" { SwitchToMode "Locked"; }
bind "Alt q" { Quit; } bind "Alt q" { Quit; }
@@ -179,9 +179,9 @@ keybinds clear-defaults=true {
shared_except "move" "locked" { shared_except "move" "locked" {
bind "Alt m" { SwitchToMode "Move"; } bind "Alt m" { SwitchToMode "Move"; }
} }
shared_except "tmux" "locked" { // shared_except "tmux" "locked" {
bind "Ctrl b" { SwitchToMode "Tmux"; } // bind "Ctrl b" { SwitchToMode "Tmux"; }
} // }
} }
plugins { plugins {