diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-12 09:13:58 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-12 09:13:58 +0200 |
| commit | b7c18988ebe9114c114003178225201b5bb67e0c (patch) | |
| tree | c5130efec3f45679ad0f99a02cbe486dbc3cea0e | |
| parent | f79a04e2feccd0c3b897c76c6feff64f28e9010f (diff) | |
| download | config-b7c18988ebe9114c114003178225201b5bb67e0c.tar.gz config-b7c18988ebe9114c114003178225201b5bb67e0c.zip | |
Experimenting with tmux config
| -rw-r--r-- | .tmux.conf | 14 |
1 files changed, 13 insertions, 1 deletions
| @@ -1,5 +1,17 @@ | |||
| 1 | # Use Ctrl+F as lead key | ||
| 2 | unbind C-b | ||
| 3 | set -g prefix C-f | ||
| 4 | bind-key -n C-f send-prefix | ||
| 5 | |||
| 6 | # Status bar with external command | ||
| 1 | set -g status-right-length 120 | 7 | set -g status-right-length 120 |
| 2 | set -g status-right "#(status)" | 8 | set -g status-right "#(status)" |
| 3 | set -s copy-command "xsel -i" | 9 | |
| 10 | # Copy to clipboard, not only the tmux buffer | ||
| 11 | set -s copy-command "xsel -ib" | ||
| 12 | |||
| 13 | # Destroy unattached session (use only as multiplexer) | ||
| 4 | set -g destroy-unattached | 14 | set -g destroy-unattached |
| 15 | |||
| 16 | # Select and prompt for opening URLs on lead + U with external command | ||
| 5 | bind u run "tmux capture-pane; tmux show-buffer | dmenu-urlselect | xargs open-url" | 17 | bind u run "tmux capture-pane; tmux show-buffer | dmenu-urlselect | xargs open-url" |
