diff --git a/tmux.conf b/tmux.conf index 18d9ec3..5719beb 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,27 +1,28 @@ +# Set Options +set-option -g default-shell /bin/zsh set-option -sa terminal-overrides ',screen-256color:RGB' - -# map H and V to horizontal and vertical splits -bind-key V split-window -h -bind-key H split-window -v - -# map r to forcae 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 - -# set screen options 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 :.+ - -source "/usr/share/tmux/powerline.conf"