tangled
alpha
login
or
join now
hailey.at
/
dotfiles
2
fork
atom
this repo has no description
2
fork
atom
overview
issues
pulls
pipelines
tmux conf
hailey
1 month ago
cff1fc7b
f6f84ee6
+66
1 changed file
expand all
collapse all
unified
split
.tmux.conf
+66
.tmux.conf
reviewed
···
1
1
+
set -g default-terminal "xterm-256color"
2
2
+
set-option -g default-command zsh
3
3
+
4
4
+
set -g set-clipboard on
5
5
+
6
6
+
set -g allow-passthrough on
7
7
+
8
8
+
set -g prefix C-a
9
9
+
unbind C-b
10
10
+
bind-key C-a send-prefix
11
11
+
12
12
+
unbind %
13
13
+
bind | split-window -h
14
14
+
15
15
+
unbind '"'
16
16
+
bind - split-window -v
17
17
+
18
18
+
unbind r
19
19
+
bind r source-file ~/.tmux.conf
20
20
+
21
21
+
bind -r j resize-pane -D 5
22
22
+
bind -r k resize-pane -U 5
23
23
+
bind -r l resize-pane -R 5
24
24
+
bind -r h resize-pane -L 5
25
25
+
26
26
+
bind -r m resize-pane -Z
27
27
+
28
28
+
set -g mouse on
29
29
+
30
30
+
set-window-option -g mode-keys vi
31
31
+
32
32
+
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
33
33
+
bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
34
34
+
35
35
+
unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode when dragging with mouse
36
36
+
37
37
+
# remove delay for exiting insert mode with ESC in Neovim
38
38
+
set -sg escape-time 10
39
39
+
40
40
+
# tpm plugin
41
41
+
set -g @plugin 'tmux-plugins/tpm'
42
42
+
43
43
+
# list of tmux plugins
44
44
+
set -g @plugin 'christoomey/vim-tmux-navigator'
45
45
+
# set -g @plugin 'jimeh/tmux-themepack'
46
46
+
set -g @plugin 'tmux-plugins/tmux-resurrect' # persist tmux sessions after computer restart
47
47
+
set -g @plugin 'tmux-plugins/tmux-continuum' # automatically saves sessions for you every 15 minutes
48
48
+
49
49
+
# theme
50
50
+
set -g @plugin 'catppuccin/tmux'
51
51
+
set -g @catppuccin_flavor 'frappe' # or frappe, macchiato, mocha
52
52
+
# set -g @catppuccin_flavor 'latte' # or frappe, macchiato, mocha
53
53
+
# set -g @catppuccin_window_tabs_enabled on # or off to disable window_tabs
54
54
+
# set -g @catppuccin_date_time "%Y-%m-%d %H:%M"
55
55
+
# set -g @catppuccin_left_separator "█"
56
56
+
# set -g @catppuccin_right_separator "█"
57
57
+
# set -g @catppuccin_host "on"
58
58
+
59
59
+
# set -g @themepack 'powerline/default/cyan'
60
60
+
61
61
+
set -g @resurrect-capture-pane-contents 'on'
62
62
+
set -g @continuum-restore 'on'
63
63
+
64
64
+
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
65
65
+
run '/usr/bin/zsh -c "~/.tmux/plugins/tpm/tpm"'
66
66
+