dotfiles/tmux/tmux.conf
2024-09-09 17:04:03 -07:00

55 lines
1.1 KiB
Bash

# Custom tmux config.
# @jrunyan
# https://github.com/runyanjake/tmux
### Theme
# Window
set -g set-titles on
set -g set-titles-string '#W - Tmux'
set -g base-index 1
set -g window-status-format "#[fg=colour239,bg=colour222] #I:#W "
set -g window-status-style fg=colour239,bg=colour208
# Pane
set -g pane-base-index 1
set -g pane-border-style "fg=colour239,bg=default"
set -g pane-active-border-style "fg=colour215,bg=default"
# Status Bar
set -g status-position top
set -g status-bg colour215
set -g status-fg colour239
set -g status-left-length 40
set -g status-right-length 100
set -g status-left '#[bg=colour236,fg=gray] [#S] '
### Functionality
# Set custom prefix key
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# Split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Enable mouse support
set -g mouse on
# Allow the terminal to scrollback
set -g history-limit 10000
### Plugins
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Initialize tmux plugin manager (Keep @ bottom of file)
run ~/.tmux/plugins/tpm/tpm