Files
dotfiles/tmux/.tmux.conf
T

43 lines
1.2 KiB
Bash

# Rebind prefix key to Ctrl+a for easier access
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
unbind c
bind c new-window -c "#{pane_current_path}"
bind r source-file ~/.tmux.conf \; display "Reloaded!"
set -g mouse on
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind | split-window -h
bind - split-window -v
bind g popup -E -w 80% -h 90% -d "#{pane_current_path}" -B lazygit
set -g default-terminal "tmux-256color"
set -as terminal-overrides ",xterm-256color:Tc"
black="#000000"
gray_light="#D8DEE9"
gray_medium="#ABB2BF"
gray_dark="#3B4252"
green_soft="#A3BE8C"
blue_muted="#81A1C1"
cyan_soft="#88C0D0"
set -g status-position top
set -g status-left-length 100
set -g status-style "fg=${gray_light},bg=default"
set -g status-left "#[fg=${green_soft},bold] #S #[fg=${gray_light},nobold]| "
set -g window-status-current-format "#[fg=${cyan_soft}]#[fg=${black},bg=${cyan_soft},bold]#I:#W#[fg=${cyan_soft},bg=default]"
set -g window-status-format " #I:#W "
set -g message-style "fg=${gray_light},bg=default"
set -g mode-style "fg=${gray_dark},bg=${blue_muted}"
set -g pane-border-style "fg=${gray_dark}"
set -g pane-active-border-style "fg=${gray_medium}"