-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
67 lines (47 loc) · 1.52 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# TMUX Dotfiles
# 2024
#
# Credit: https://github.com/awalvie
# Appearance Customisation
set -g status-style bg=default
set -g status-bg default
set -g window-status-style bg=default
set -g window-status-current-style bg=#ee817d,fg=black
set -g default-terminal "$TERM"
set -ag terminal-overrides ",$TERM:Tc"
set -g pane-active-border-style fg="#ee817d"
set -g pane-border-style fg="#ee817d"
# message styling
set-option -ag message-style fg=#ee817d,blink; set-option -ag message-style bg=black
# kitty broadcast
# bind-key C-x setw synchronize-panes
# Custom modifier key
unbind-key C-b
set -g prefix C-a
bind-key C-a send-prefix
# Key commands to split window
bind-key v split-window -h
#bind-key s split split-window -v
# enable mouse clicking when frustrated :)
set -g mouse on
# stop tmux from consuming escape
set -s escape-time 0
set-option -g renumber-window on
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-battery'
# Status bar formatting
set -g status-justify "left"
set -g status-position bottom
set -g status-format[1] ""
setw -g window-status-format " #I#F "
setw -g window-status-current-format " #I#F "
set-option -g status-left "[#{session_name}]"
set -g status-right '#{battery_percentage} juice left 🎄'
# QOL
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind-key % split-window -h -c "#{pane_current_path}"
bind-key '"' split-window -v -c "#{pane_current_path}"
# BOTTOM OF THE FILE
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'