Remove window renaming and improve keymap for session renaming (TMUX)

This commit is contained in:
Martin Larsson 2025-07-04 21:18:20 +02:00
parent f6af733634
commit c6209dff63

View file

@ -40,8 +40,7 @@ bind-key -n M-q kill-pane
bind-key -n M-F resize-pane -Z bind-key -n M-F resize-pane -Z
bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''" bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''"
bind-key -n M-w new-window -c "#{pane_current_path}" bind-key -n M-w new-window -c "#{pane_current_path}"
bind-key -n M-r command-prompt -p "Rename window:" "rename-window '%%'" bind-key -n M-r command-prompt -p "Rename session:" "rename-session '%%'"
bind-key -n M-R command-prompt -p "Rename session:" "rename-session '%%'"
bind-key -n M-c copy-mode bind-key -n M-c copy-mode
bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi v send-keys -X begin-selection