-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
76 lines (55 loc) · 1.58 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
68
69
70
71
72
73
74
75
76
set -g default-terminal xterm-ghostty
set -s extended-keys always
set -as terminal-features 'xterm*:extkeys'
set -s escape-time 0
set-option -g renumber-windows on
#################
## KEYBINDINGS ##
#################
unbind C-b
set -g prefix C-s
bind-key C-s send-prefix
# Panes
unbind %
bind | split-window -h -c "#{pane_current_path}"
unbind '"'
bind - split-window -v -c "#{pane_current_path}"
unbind space
bind -r space resize-pane -Z
unbind C-o
bind -r C-o rotate-window
# Windows
unbind c
bind c new-window -c "#{pane_current_path}"
unbind n
unbind p
bind -r , previous-window
bind -r . next-window
# Config reload
unbind r
bind r source-file ~/.tmux.conf
# Mouse
set -g mouse on
unbind -T copy-mode-vi MouseDragEnd1Pane
# Vim style copy mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
##########
# THEME ##
###########
set -g 'status-format[1]' ''
set -g status 2
set -g status-position top
set -g status-style "bg=default fg=#cdd6f4"
set -g status-left-length 100
set -g status-left "#[bold,fg=#cdd6f4][ #S ] #[bold,fg=#cdd6f4]"
set -g status-right "#[bold]#{?client_prefix,#[fg=#a6e3a1],#{?pane_in_mode,#[fg=#fab387],#[fg=#11111b]}}●"
set -g window-status-format " #I:#W#F "
set -g window-status-style "bg=#313244"
set -g window-status-current-format " #I:#W#F "
set -g window-status-current-style "bg=#fab387 fg=#11111b"
set -g pane-border-style "fg=#313244"
set -g pane-active-border-style "fg=#b4befe"
set -g message-style "bg=#11111b fg=#cdd6f4"
set -g mode-style "bg=#45475a fg=#cdd6f4"