mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 15:49:54 -06:00
42 lines
929 B
Bash
42 lines
929 B
Bash
set -g prefix C-a
|
|
unbind C-b
|
|
|
|
set -s escape-time 1
|
|
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
bind r source-file ~/.tmux.conf \; display "Reloaded!"
|
|
|
|
bind C-a send-prefix
|
|
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
bind -r C-h select-window -t :-
|
|
bind -r C-l select-window -t :+
|
|
|
|
bind H resize-pane -L 5
|
|
bind J resize-pane -D 5
|
|
bind K resize-pane -U 5
|
|
bind L resize-pane -R 5
|
|
|
|
setw -g mode-mouse off
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
set -g window-status-attr dim
|
|
set -g window-status-current-attr bright
|
|
|
|
setw -g mode-keys vi
|
|
|
|
set -g status-right '#(~/dotfiles/bin/tmux_battery_charge_indicator.sh) #[bg=white,fg=colour240] %H:%M #[bg=colour240,fg=white] %Y-%m-%d '
|
|
|
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
|
set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock
|