29 lines
774 B
Plaintext
29 lines
774 B
Plaintext
# Set Options
|
|
set-option -g default-shell /bin/zsh
|
|
set-option -sa terminal-overrides ',screen-256color:RGB'
|
|
set-option -sg escape-time 10
|
|
set-option -g default-terminal "screen-256color"
|
|
|
|
# Source powerline (should come from somewhere other than a versoined python)
|
|
source "/usr/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf"
|
|
|
|
# map Ctrl + a to prefix and unbind Ctrl + b
|
|
set -g prefix C-a
|
|
unbind C-b
|
|
bind C-a send-prefix
|
|
|
|
# map H and V to horizontal and vertical splits
|
|
bind-key V split-window -h
|
|
bind-key H split-window -v
|
|
|
|
# map r to force a reload of the config file
|
|
unbind r
|
|
bind r source-file ~/.tmux.conf \; display "Reloading Config"
|
|
|
|
# set base windows index to 1
|
|
set -g base-index 1
|
|
|
|
# quick pane cycling
|
|
unbind ^A
|
|
bind ^A select-pane -t :.+
|