dotfiles

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

commit 113db082355cc24e70f1357bc5b71004bca93d20
parent 2af0615750d1e88ab54e27adbe0602cf2629bc4a
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  9 Feb 2021 04:05:48 -0500

Update tmux config

Diffstat:
M.config/tmux.conf | 23++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/.config/tmux.conf b/.config/tmux.conf @@ -6,11 +6,9 @@ set -g focus-events on setw -g automatic-rename on set -g set-titles on -# Split Panes Using | and - -bind | split-window -h -bind - split-window -v -unbind '"' -unbind % +# 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 @@ -30,6 +28,17 @@ set -g bell-action other # }}} # Keybindings {{{ +# Rebind prefix +unbind C-b +set-option -g prefix C-q +bind-key C-q send-prefix + +# Split Panes Using | and - +unbind '"' +unbind % +bind | split-window -h +bind - split-window -v + # Vim-like Pane Switching bind h select-pane -L bind l select-pane -R @@ -47,7 +56,7 @@ bind-key M-h resize-pane -L bind-key M-l resize-pane -R # Easy Reload Config File -bind r source-file ~/.config/tmux/tmux.conf +bind r source-file ~/.config/tmux.conf # }}} ## Appearance {{{ @@ -65,7 +74,7 @@ set -g status-position bottom set -g status-bg colour236 set -g status-fg colour3 set -g status-left '' -set -g status-right 'Batt: #(tmux-battery.sh) #[fg=colour233,bg=colour241,bold] %Y-%m-%d #[fg=colour233,bg=colour245,bold] %H:%M ' +set -g status-right 'Batt: #(tmux-battery) #[fg=colour233,bg=colour241,bold] %Y-%m-%d #[fg=colour233,bg=colour245,bold] %H:%M ' set -g status-right-length 50 set -g status-left-length 20 set -g status-interval 5