dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 53eb5a45b7c37d63c266468dcb5d80ea0393e6c1
parent 174a95b4a1f6315587d2626969db1ba48dcd5ec7
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 20 Jan 2022 03:02:10 -0500

Pare down tmux config

Diffstat:
M.tmux.conf | 62+++++++++++---------------------------------------------------
1 file changed, 11 insertions(+), 51 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -1,31 +1,14 @@ -# Enable focus events -set -g focus-events on - -# Automatically Set Window Title -setw -g automatic-rename on +# Basic Settings set -g set-titles on - -# Start numbering panes and windows at 1 -set -g base-index 1 -setw -g pane-base-index 1 - -# Making Escape Work Properly -set -sg escape-time 0 - -# Use vi Compatible Controls -setw -g mode-keys vi -setw -g status-keys vi - -# Other settings set -g history-limit 100000 set -g default-terminal "tmux-256color" -set -g renumber-windows on -set -g visual-bell off -set -g monitor-activity on -set -g activity-action other -set -g bell-action other -# Rebind to split in same path +# Convenient shortcuts +bind-key b send-prefix +bind-key C-b next-window +bind-key space next-window + +# Rebind to split/create window in same path bind-key c new-window -c "#{pane_current_path}" bind-key % split-window -h -c "#{pane_current_path}" bind-key '"' split-window -v -c "#{pane_current_path}" @@ -36,31 +19,8 @@ bind l select-pane -R bind k select-pane -U bind j select-pane -D -# Resizing Panes -bind-key K resize-pane -U 5 -bind-key J resize-pane -D 5 -bind-key H resize-pane -L 5 -bind-key L resize-pane -R 5 -bind-key M-k resize-pane -U -bind-key M-j resize-pane -D -bind-key M-h resize-pane -L -bind-key M-l resize-pane -R - -# Pane split line +# Colours set -g pane-border-style fg=colour7 -set -g pane-active-border-style fg=colour75 - -# Window Status -setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour4]#F ' -setw -g window-status-format '#I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' - -# Status Bar -set -g status-justify left -set -g status-position bottom -set -g status-bg colour236 -set -g status-fg colour3 -set -g status-left '' -set -g status-right '#[fg=colour233,bg=colour241,bold] %Y-%m-%d #[fg=colour233,bg=colour245,bold] %H:%M ' -set -g status-right-length 80 -set -g status-left-length 20 -set -g status-interval 5 +set -g pane-active-border-style fg=color15 +set -g status-style reverse,bright +set -g message-style reverse