dotfiles/auto/tmux/.tmux.conf
DuckDuckWhale c772724cac
Misc: Rust, Helix, tmux underline, bash, rg, ...
Add:
- Rust and Helix install/configure scripts
- tmux curly underline with colors
- Rocky SSH & Mosh setup
- `asciinema` and `rg`
- Mosh PPA for old Ubuntu systems
- VirtualBox USB devices group
- Add `~/.local/bin/` to path in .bashrc

Update:
- Use `~/.bash_login` instead of `~/.profile` for tmux on login and exec it
- Rename `gnome-todo` to `endeavour`
- Use new sshd alias
- Reload instead of restarting sshd

Remove:
- Vim colorschemes and plugins
- `.sh` extensions on executable scripts
2023-03-19 22:58:35 -07:00

37 lines
933 B
Bash

set -g clock-mode-style 12
set -g default-command "${SHELL}"
set -g default-terminal "tmux-256color"
set -as terminal-features ",xterm-256color:RGB"
# curly underline support
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
# underline colors - needs tmux-3.0
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
set -g history-limit 10000
set -g prefix C-q
set -sg escape-time 25
set -wg mode-keys vi
set -wg mouse on
unbind Up
unbind Down
unbind Left
unbind Right
bind C-q send-prefix
bind S set status
bind r source-file ~/.tmux.conf \; display "Reloaded tmux config."
bind s setw synchronize-panes
bind h split-window -h
bind v split-window -v
bind H split-window -f -h
bind V split-window -f -v
bind -r C-h select-pane -L
bind -r C-j select-pane -D
bind -r C-k select-pane -U
bind -r C-l select-pane -R
bind -r Left swap-window -dt -1
bind -r Right swap-window -dt +1