From fa4eab4c12c8d6639ae4575610d157b5d822175d Mon Sep 17 00:00:00 2001 From: fleaz Date: Thu, 1 Feb 2024 14:18:28 +0100 Subject: [PATCH] home/tmux: Faster pane switching --- home-manager/modules/tmux.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home-manager/modules/tmux.nix b/home-manager/modules/tmux.nix index e4de974..0f018bd 100644 --- a/home-manager/modules/tmux.nix +++ b/home-manager/modules/tmux.nix @@ -9,6 +9,11 @@ shell = "/home/felix/.nix-profile/bin/zsh"; terminal = "xterm-256color"; extraConfig = '' + # switch panes using Alt-hjkl without prefix + bind -n M-h select-pane -L + bind -n M-l select-pane -R + bind -n M-k select-pane -U + bind -n M-j select-pane -D '';