Reorganize tmux keyboard settings into dedicated section
Adds extended-keys on and consolidates keyboard-related settings
near the top instead of scattering them at the bottom.

Assisted-by: Claude Opus 4.6 via pi
change mtnzukvpyprsnqptmryzppnquxmmqoln
commit 9dee07c396eac3c954f82bf70ffc93e21386547b
author Alpha Chen <alpha@kejadlen.dev>
date
parent wvynnzrx
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 3498db56..3756f0da 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -21,8 +21,12 @@ set-option -g automatic-rename on
 # like clicking on URLs even more, and this breaks that.
 # set -g mouse on
 
-# copy and paste
+## keyboard
 set-window-option -g mode-keys vi
+set-option -ga terminal-features "*:hyperlinks" # osc 8
+set -g extended-keys on
+
+# copy and paste
 bind-key -T copy-mode-vi 'v' send -X begin-selection
 bind-key -T copy-mode-vi 'V' send -X select-line
 bind-key -T copy-mode-vi 'r' send -X rectangle-toggle
@@ -52,10 +56,6 @@ set-option -g window-status-format "#[fg=color244,bg=terminal,nobold,noitalics,n
 set-option -g window-status-last-style fg=color31,bg=terminal
 set-option -g window-status-style fg=color249,bg=terminal
 
-## etc
-set-window-option -g mode-keys vi
-set-option -ga terminal-features "*:hyperlinks" # osc 8
-
 ## screen bindings
 
 bind a send-prefix