From 8d4fff2429cbb1dab2d0f1368a452c6b9d268716 Mon Sep 17 00:00:00 2001 From: Jeremie Fraeys Date: Sun, 21 Jul 2024 20:58:17 -0400 Subject: [PATCH] changed leader key --- tmux/.config/tmux/tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index b1e2642..34cd5d9 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -1,6 +1,6 @@ # Default shell set -g default-shell /bin/zsh -set-option -g prefix C-a +set-option -g prefix C-b # Reload config unbind r @@ -19,7 +19,7 @@ bind C-j display-popup -E "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$ bind w display-popup -E "tmux list-windows -F '#{window_index} #{window_name} (#{session_name})' | grep -v \"^$(tmux display-message -p '#I')\" | fzf --reverse | cut -d' ' -f1 | xargs -I{} tmux select-window -t {}" # Use choose-tree for interactive session and window navigation -bind-key W choose-tree -Zw +bind W choose-tree -Zw # # Define a shell function to perform the search and display results in a tmux popup # tmux_search() { @@ -29,7 +29,7 @@ bind-key W choose-tree -Zw # # Bind a key to trigger the search function # bind-key / command-prompt -p "Search term:" "run-shell 'tmux_search \"%%\"'" # Bind a key to run the switch_or_create_session function -bind-key -r f run-shell "tmux neww -n tmux_sessonizer ~/.local/bin/tmux_sessionizer" +bind -r f run-shell "tmux neww -n sessonizer ~/.local/bin/scripts/sessionizer" # Reduce delay set -s escape-time 1