diff options
| -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" |
