From b7c18988ebe9114c114003178225201b5bb67e0c Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 12 May 2026 09:13:58 +0200 Subject: Experimenting with tmux config --- .tmux.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index dc0a9be..acd9bea 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,5 +1,17 @@ +# Use Ctrl+F as lead key +unbind C-b +set -g prefix C-f +bind-key -n C-f send-prefix + +# Status bar with external command set -g status-right-length 120 set -g status-right "#(status)" -set -s copy-command "xsel -i" + +# Copy to clipboard, not only the tmux buffer +set -s copy-command "xsel -ib" + +# Destroy unattached session (use only as multiplexer) set -g destroy-unattached + +# Select and prompt for opening URLs on lead + U with external command bind u run "tmux capture-pane; tmux show-buffer | dmenu-urlselect | xargs open-url" -- cgit v1.3