-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
40 lines (33 loc) · 1.2 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
#
# Entry point for my Tmux config.
#
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
##
# If it is enabled, my “if-shell source theme” below does not work
# even if I do not source any of these themes.
#
# set -g @plugin 'jimeh/tmux-themepack'
source-file ~/work/src/dotfiles/tmux/shared-config.conf
# set -g @themepack 'powerline/default/yellow'
#
# Allows tmux to be started either in dark or light mode. Example:
#
# $ THEME=light tmux new-session -s dotfiles -c ~/work/src/dotfiles
#
# $ THEME=dark tmux new-session -s playground
#
if-shell '[ "$THEME" = dark ]' \
'source-file ~/work/src/dotfiles/tmux/themes/tmux-dark.conf' \
'source-file ~/work/src/dotfiles/tmux/themes/tmux-light.conf'
run -b '~/.tmux/plugins/tpm/tpm'
##################################################################################
# References:
#
# • man tmux
# • https://wiki.archlinux.org/index.php/tmux
# • https://github.com/ThomasAdam/tmux/blob/master/FAQ
# • https://www.reddit.com/r/unixporn/comments/3cn5gi/tmux_is_my_wm_on_os_x/
# • http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
# • https://github.com/tmux/tmux/issues/1689 (with an answer from me)
#