-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtmux.conf
66 lines (49 loc) · 1.93 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
###################################################################
# General
###################################################################
# Appropriate terminal colors
set -g default-terminal "screen-256color"
set -g terminal-overrides ",screen-256color:Tc"
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Start tabs at index 1
set -g base-index 1
# Make pane numbering consistent with windows
setw -g pane-base-index 1
# Renumber windows when a window is closed
set -g renumber-windows on
# https://stackoverflow.com/questions/25532773/change-background-color-of-active-or-inactive-pane-in-tmux
#set -g window-active-style 'fg=colour250,bg=black'
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
###################################################################
# Key-bindings
###################################################################
# Free the original `Ctrl-b` prefix keybinding.
unbind C-b
# set prefix key to ctrl-a
set -g prefix C-a
set -g status-keys vi
set -g history-limit 10000
# mouse? real hackers don't use a mouse
set-option -g mouse off
# No delay for escape key press
set -sg escape-time 0
# Reload the file with Prefix r.
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# List of plugins
set -g @plugin 'arcticicestudio/nord-tmux'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-sidebar'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' # continuous save/reload sessions
# Plugin Configs
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'
# Fixes iterm2 integration. Should go after "run '~/.tmux/plugins/tpm/tpm'"
setw -g aggressive-resize off