changed leader key
This commit is contained in:
parent
46bac78291
commit
8d4fff2429
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue