From f62ccd4398c2e6b5a821d25bba23683c73f8b5bc Mon Sep 17 00:00:00 2001 From: mattia Date: Thu, 15 Aug 2024 17:09:13 +0200 Subject: [PATCH] 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. --- config.kdl | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/config.kdl b/config.kdl index b91e8df..068cdc1 100644 --- a/config.kdl +++ b/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 {