dotfiles/auto/tmux/.tmux.conf
DuckDuckWhale 2df4e7a091
Misc: SSH, Vim, Helix, Ubuntu, setup, shells, ...
- SSH config: disable password and send COLORTERM
- Vim: use <space>u instead of <space>w
- Helix:
	- Update for bug fixes after 23.10
	- Install bash completions, desktop file, and icon
	- Fix bufferline and inlay hints color
	- Reenable auto pairs since smart tabs is a thing now
- Ubuntu:
	- Update to 23.10
	- Change naming convention
	- Add podman and qemu-user-static
- Setup:
	- Update install and swap config
	- Add fish, Pods, Steam
	- Fix CJK font config path
	- Remove Firefox Wayland override now that it's the default
- Shells: configure fish
- Manual:
	- Configure starship
	- Use cargo locked install
	- Remove sparse protocol config now that it's the default
	- Fix failure when fish config directory is not found
- tmux: fix truecolor support for Alacritty
2024-01-19 16:21:22 -08:00

39 lines
1.0 KiB
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,alacritty: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 b setw synchronize-panes
bind a attach -c "#{pane_current_path}" \; \
display "New session working directory: #{pane_current_path}"
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