-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmuxconf
80 lines (59 loc) · 2.14 KB
/
tmuxconf
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
################################################################################
# GENERAL #
################################################################################
# Set bind key to reload configuration file
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Set history loggint to very high
set -g history-limit 999999999
# Vi mode
setw -g mode-keys vi
# Enable mouse mode
set -g mouse on
# Use ctrl-b ctrl-k to clear pane history
bind -n C-k send-keys -R \; send-keys C-l \; clear-history \; display "Cleared!"
# Select panes like Vim with h, j, k, l
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
################################################################################
# THEME #
################################################################################
# Use 256 xterm for pretty colors. This enables same colors from iTerm2 within
# tmux. This is recommended in neovim :healthcheck
# set -g default-terminal "screen-256color"
# set -ga terminal-overrides ",xterm-256color:Tc"
# Start window and pane indexing at 1 instead of 0
set -g base-index 1
set -g pane-base-index 1
# Status bar
set -g status-fg white
set -g status-bg black
# refresh status bar
# set -g status-interval 60
# setw -g window-status-fg cyan
# setw -g window-status-bg default
# setw -g window-status-attr dim
# Command line
# set -g message-fg white
# set -g message-bg black
# set -g message-attr bright
# Window list
set -g status-justify centre
# Disable auto window naming
# set-option -g allow-rename off
# Identify activity in other windows
# setw -g monitor-activity on
# set -g visual-activity on
# Status bar left
# set -g status-left-length 80
set -g status-left "Session: #[fg=green]#S #[fg=cyan]#P "
# Status bar right
set -g status-right ""
# set -g status-right "#[fg=red]#(~/Developer/dotfiles/battery Discharging) #[fg=cyan] %a, %m/%d/%Y %H:%M"
# list of plugins
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'christoomey/vim-tmux-navigator'
# TMUX plugin manager (keep at the bottom of tmux.conf)
# run -b '~/.tmux/plugins/tpm/tpm'