Compare commits

...

2 Commits

Author SHA1 Message Date
2f87d6b029 add tmux support 2026-08-04 18:23:25 -06:00
d89ac50b14 tilde must be quoted in yaml values 2026-08-04 18:14:10 -06:00
2 changed files with 57 additions and 4 deletions

View File

@@ -1,11 +1,12 @@
stores:
apps:
target: ~
target: "~"
files:
- .omp
- .emacs.d/init.el
- .tmux.conf
bash:
target: ~
target: "~"
files:
- .aliases
- .bash_profile
@@ -14,10 +15,10 @@ stores:
- .functions
- .prompt
fun:
target: ~/
target: "~"
files:
- .fun
git:
target: ~/
target: "~"
files:
- .gitconfig

52
apps/.tmux.conf Normal file
View File

@@ -0,0 +1,52 @@
# tmux config file
# with help from https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
# remap prefix from 'C-b' to 'C-a' (easy with caps-lock remap)
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# switch panes using alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# enable mouse control
set -g mouse on
# don't rename windows automatically
set-option -g allow-rename off
# faster, snappier
set -g escape-time 0
set -g history-limit 200000
# use 256 colors + better terminal features
set -g default-terminal "tmux-256color"
set -as terminal-features ",xterm-256color:RGB"
set -g focus-events on
# Start windows/panes at 1 (more human, less C)
set -g base-index 1
setw -g pane-base-index 1
# Renumber windows when one is closed
set -g renumber-windows on
# Status bar: simple + useful
set -g status-interval 5
set -g status-left-length 40
set -g status-right-length 120
set -g status-left " #[bold]#S #[default]"
set -g status-right " %Y-%m-%d %H:%M "
# Reduce “my panes renamed themselves” chaos
set -g allow-rename off
setw -g automatic-rename on