diff --git a/.config/tmux/conf/binds.conf b/.config/tmux/conf/binds.conf index c04f406d..7e2bed40 100644 --- a/.config/tmux/conf/binds.conf +++ b/.config/tmux/conf/binds.conf @@ -4,7 +4,7 @@ set -g prefix M-Space bind Space send-prefix # Config reload -bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded" +bind-key -n R source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded" # Vim mode setw -g mode-keys vi @@ -23,6 +23,9 @@ bind-key C command-prompt -p "Name of new window: " "new-window -c '#{pane_curre bind-key l next-window bind-key h previous-window +# Change window name +bind-key r command-prompt -I "#W" "rename-window '%%'" + # Move to the next and prev session bind j switch-client -n bind k switch-client -p