-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
73 lines (56 loc) · 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
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
# I just like Ctrl-a - sue me!
unbind C-b
set -g prefix C-a
bind C-a send-prefix
setw -g monitor-activity on
set-option -g default-terminal "screen-256color"
# Need that mouse
set -g mouse on
# VI
set -g status-keys vi
set -g history-limit 10000
setw -g mode-keys vi
# VI Panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Avoid escape delay...
set -s escape-time 0
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
# Copy to system clipboard
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
# I'd like my arrow keys back...please
set-window-option -g xterm-keys off
# Scroll History
set -g history-limit 30000
# Set ability to capture on start and restore on exit window data when running an application
setw -g alternate-screen on
# Split with pipes (so to speak)
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# No delay for escape key press
set -sg escape-time 0
# THEME
set -g status-bg black
set -g status-fg white
set -g status-interval 10
set -g status-left-length 30
set -g status-right-length 200
set -g status-left '#[fg=yellow](#S) '
set -g status-right '#[fg=yellow] #{weather} #[fg=green][#[fg=white]#[fg=bold]%a %h %d %Y -#[fg=white]%l:%M %p#[default]#[fg=green]]'
# new window in same dir
bind c new-window -c "#{pane_current_path}"
set -g @colors-base16 'default-dark'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-urlview'
set -g @plugin 'mattdavis90/base16-tmux'
set -g @plugin 'xamut/tmux-weather'
# Weather Config
set-option -g @tmux-weather-location "Adelaide"
set-option -g @tmux-weather-interval 1
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'