dotfiles
Seven years worth of accumulated configuration cruft
dotfiles/tmux/.config/tmux/tmux.conf
Download raw file: tmux/.config/tmux/tmux.conf
### General
set -g mouse on
set -g history-limit 10000000
set -g escape-time 10
set -g set-titles on
#### I fucking mean it this time!!!
set-option -g status-keys emacs
set -g mode-keys emacs
set -g status-keys emacs
### Statusbar
set-option -g status-bg "#999999"
set -g status-position top
set -g status-right '"#{pane_title}" %Y-%m-%d %H:%M'
set -g set-titles-string "xterm: #{pane_title}"
setw -g window-status-format ' #I #W '
setw -g window-status-current-style 'fg=red bg=black'
### Keybindings
unbind C-b
set -g prefix C-z
bind C-z send-prefix
bind r source-file ~/.config/tmux/tmux.conf
# # Double LMB Select & Copy (Word)
# bind-key -T copy-mode DoubleClick1Pane \
# select-pane \; \
# send-keys -X select-word \; \
# send-keys -X copy-pipe-no-clear "xclip -in -sel primary"
# bind-key -n DoubleClick1Pane \
# select-pane \; \
# copy-mode -M \; \
# send-keys -X select-word \; \
# send-keys -X copy-pipe-no-clear "xclip -in -sel primary"
# # Triple LMB: Select & Copy (Line)
# bind-key -T copy-mode TripleClick1Pane \
# select-pane \; \
# send-keys -X select-line \; \
# send-keys -X copy-pipe-no-clear "xclip -in -sel primary"
# bind-key -n TripleClick1Pane \
# select-pane \; \
# copy-mode -M \; \
# send-keys -X select-line \; \
# send-keys -X copy-pipe-no-clear "xclip -in -sel primary"