.tmux.conf

Thu, 11 Apr 2024 22:25:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 11 Apr 2024 22:25:18 -0500
changeset 1150
52033d249bcb
parent 1134
fe6ccd1afb11
permissions
-rw-r--r--

Adjust treesitter load

set -g default-terminal "tmux-256color"
# set -ga terminal-overrides ',*:RGB'

set -g update-environment 'DBUS_SESSION_BUS_ADDRESS'

set -g history-limit 6000
set -g display-time 4000

set -g mouse on
set -g focus-events on

# Start tab numbering at 1
set -g base-index 1
set -g pane-base-index 1
set -g renumber-windows on

set -sg escape-time 10

set -g pane-border-style        bg=colour232,fg=colour235
set -g pane-active-border-style bg=colour232,fg=colour239
set -g window-active-style      bg=colour232

set -g status-style           bg=colour235,fg=cyan
set -g message-style          bg=colour235,fg=white
set -g message-command-style  bg=colour235,fg=white,bold
set -g mode-style             bg=colour173,fg=black,dim

set -g status-left " #S "
set -g status-left-style bg=colour237

set -g status-right " #{=21:pane_title} %m-%d %H:%M "
set -g status-right-style bg=colour237

set -g window-status-format " #I:#W#F "
set -g window-status-current-format " #I:#W#F "
set -g window-status-current-style bg=colour234

set -g set-titles on
set -g set-titles-string "#h(#S)"

source-file ~/.tmux/screen-keys.conf
source-file ~/.tmux/vim-keys.conf

if-shell "tmux -V | awk '{exit !($2 >= \"3.2\")}'" {
  source-file ~/.tmux/popup.conf
}

bind S choose-session
bind @ choose-window 'join-pane -h -s "%%"'
bind K kill-pane

if-shell 'test -e ~/.tmux.conf.local' {
  source ~/.tmux.conf.local
}

mercurial