-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
47 lines (37 loc) · 1.24 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
# General Options
set -g default-terminal "screen-256color"
set-window-option -g mode-keys vi
set-option -g allow-rename off
# Themes
set -g @themepack 'powerline/double/orange'
## Plugins
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jimeh/tmux-themepack'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g default-shell $SHELL
set -g default-command "reattach-to-user-namespace -l ${SHELL}"
# Styling changes
#
# Make border very simple:
set -g pane-border-fg colour245
set -g pane-border-bg colour245
set -g pane-active-border-fg colour245
set -g pane-active-border-bg colour245
# Allow mouse scrolling
set -g mouse
# Make sure panes and windows open in the same directory as starting from
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind j select-pane -D
bind J select-pane -D \; resize-pane -Z
bind k select-pane -U
bind K select-pane -U \; resize-pane -Z
bind h select-pane -L
bind l select-pane -R
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
set -g default-terminal 'screen-256color'
set -ga terminal-overrides ',*256col*:Tc'