dotfiles/home/private_dot_config/tmux/tmux.conf

69 lines
1.7 KiB
Text
Raw Normal View History

2021-12-08 09:38:24 -06:00
set -g status-keys vi
setw -g mode-keys vi
2023-01-07 10:42:54 -06:00
set -g mouse on
2021-12-08 09:38:24 -06:00
2023-01-12 13:45:56 -06:00
# keybindings
2021-12-08 09:38:24 -06:00
# smart pane switching with awareness of vim splits
2023-01-12 13:45:56 -06:00
set -g prefix C-a
unbind C-b
2021-12-08 09:38:24 -06:00
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# split panes using | and -
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
# Set default term to xterm
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
2022-12-10 12:18:01 -06:00
2022-12-19 11:50:16 -06:00
# --------catppuccin mocha
2022-12-10 12:18:01 -06:00
# --> Catppuccin (Mocha)
thm_bg="#1e1e2e"
thm_fg="#cdd6f4"
thm_cyan="#89dceb"
thm_black="#181825"
thm_gray="#313244"
thm_magenta="#cba6f7"
thm_pink="#f5c2e7"
thm_red="#f38ba8"
thm_green="#a6e3a1"
thm_yellow="#f9e2af"
thm_blue="#89b4fa"
thm_orange="#fab387"
thm_black4="#585b70"
set -g status "on"
set -g status-bg "${thm_bg}"
2023-01-12 13:45:56 -06:00
set -g status-style "fg=${thm_magenta}"
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 60
set -g status-right '[#S]'
set-option -g window-status-current-style "fg=${thm_orange}"
set-option -g window-status-last-style "fg=${thm_yellow}"
2022-12-10 12:18:01 -06:00
2022-12-19 11:50:16 -06:00
# messages
2023-01-12 13:45:56 -06:00
set -g message-style "fg=${thm_orange},bg=${thm_gray},align=centre"
2022-12-10 12:18:01 -06:00
set -g message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre"
2022-12-19 11:50:16 -06:00
# panes
2022-12-10 12:18:01 -06:00
set -g pane-border-style "fg=${thm_gray}"
2023-01-12 13:45:56 -06:00
set -g pane-active-border-style "fg=${thm_pink}"
2022-12-19 11:50:16 -06:00
# windows
2022-12-10 12:18:01 -06:00
setw -g window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none"
2023-01-12 13:45:56 -06:00
setw -g window-status-separator " | "
2022-12-10 12:18:01 -06:00
setw -g window-status-style "fg=${thm_fg},bg=${thm_bg},none"
2022-12-19 11:50:16 -06:00
2022-12-10 12:18:01 -06:00
setw -g clock-mode-colour "${thm_blue}"
setw -g mode-style "fg=${thm_pink} bg=${thm_black4} bold"