Keep bindings together

This commit is contained in:
David Heinemeier Hansson
2026-02-09 17:19:23 +01:00
parent b04e4b1355
commit 7894d0f778

View File

@@ -1,13 +1,6 @@
# Theme
source-file ~/.config/omarchy/current/theme/tmux.conf
# Reload config
bind M-r source-file ~/.config/tmux/tmux.conf
# Rename window / session
bind r command-prompt -I "#W" "rename-window -- '%%'"
bind R command-prompt -I "#S" "rename-session -- '%%'"
# General
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",*:RGB"
@@ -29,6 +22,13 @@ set -g status-left-length 30
set -g status-right-length 50
set -g window-status-separator ""
# Reload config
bind M-r source-file ~/.config/tmux/tmux.conf
# Rename window / session
bind r command-prompt -I "#W" "rename-window -- '%%'"
bind R command-prompt -I "#S" "rename-session -- '%%'"
# Vi mode for copy
setw -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection