-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
100 lines (85 loc) · 2.63 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Key Bindings
unbind C-b
bind C-o send-prefix
bind-key o send-prefix
bind-key C-a last-window
bind-key s split-window
# Pane Movement
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
unbind-key R
bind-key R source-file ~/.tmux.conf
# General Options
setw -g aggressive-resize on
setw -g automatic-rename on
set -g update-environment -r
# set -g default-terminal "screen-256color"
set -g default-terminal "xterm-kitty"
set -g prefix C-o
# force tmux to use utf-8
setw -gq utf8 on
# Allow true color in vim
set-option -sa terminal-overrides ',xterm-kitty:RGB'
# Mouse Options
# Toggle mouse on with ^o m
bind m \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
# Toggle mouse off with ^o M
bind M \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'
# Status Options
set-option -g status-keys emacs
# set-option -g status-bg '#003070'
# set-option -g status-fg 'white'
# # set-option -g status-left '#[bg=#004488]#[fg=white]#I: #[fg=bright]#T #[default] '
# set-option -g status-left-length 60
# Pane Options
set-option -g pane-border-style fg='#262626'
set-option -g pane-active-border-style fg='#262626'
#List of plugins
# Supports `github_username/repo` or full git repo URLs
set -g @tpm_plugins ' \
Morantron/tmux-fingers \
alexwforsythe/tmux-which-key \
erikw/tmux-powerline \
idevtier/tmux-cargo \
jlipps/tmux-safekill \
markmandel/tmux-intellij \
odedlaz/tmux-status-variables \
sainnhe/tmux-fzf \
tmux-plugins/tmux-continuum \
tmux-plugins/tmux-online-status \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-sidebar \
tmux-plugins/tmux-yank \
tmux-plugins/tpm \
whame/tmux-modal \
'
# set -g @colors-solarized 'base16'
# Other examples:
# seebi/tmux-colors-solarized \
# soyuka/tmux-current-pane-hostname \
# github_username/plugin_name \
# [email protected]/user/plugin \
# [email protected]/user/plugin \
# source /usr/lib/python3.11/site-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-shell "/bin/fish"
set -g @continuum-restore 'on'
# Initializes TMUX plugin manager.
# Keep this line at the very bottom of tmux.conf.
run-shell '~/.tmux/plugins/tpm/tpm'