-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
84 lines (60 loc) · 2.23 KB
/
tmux.conf
File metadata and controls
84 lines (60 loc) · 2.23 KB
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
81
82
83
84
# required (only) on OS X
#set-option -g default-command "reattach-to-user-namespace -l zsh"
# set colors
set -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",*256col*:Tc"
# increase scrollback buffer size
set -g history-limit 10000
# Allow terminal app to control scrolling
# http://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# start windows numbering at 1
set -g base-index 1
# make pane numbering consistent with windows
setw -g pane-base-index 1
# renumber windows sequentially after closing any of them
set -g renumber-windows on
# emacs key bindings in tmux command prompt (prefix + :) are better than
# vi keys, even for vim users
set-option -g status-keys emacs
# focus events enabled for terminals that support them
set-option -g focus-events on
# screen-style commands
unbind C-b
set -g prefix C-a
# pressing `prefix + prefix` sends <prefix> to the shell
bind a send-prefix
# Wrangle Panes
bind -r C-j resize-pane -D 5
bind -r C-k resize-pane -U 5
bind -r C-h resize-pane -L 5
bind -r C-l resize-pane -R 5
# tmux messages are displayed for 4 seconds
set-option -g display-time 4000
# refresh 'status-left' and 'status-right' more often
set-option -g status-interval 5
# xterm-compatible keys? Yes, please!
set-window-option -g xterm-keys on
# disable activity window messages
set-window-option -g visual-activity off
# disable delay between escape and subsequent keypresses (http://superuser.com/a/252717/65504)
set -sg escape-time 0
# mouse mode
#set-option -g mode-mouse on
# 24 hour clock
set-window-option -g clock-mode-style 24
set-window-option -g clock-mode-colour colour64
# default statusbar colors
set-option -g status-style bg=colour235,fg=colour179
# default window title colors
set-window-option -g window-status-style fg=colour250,bg=default
# active window title colors
set-window-option -g window-status-current-style fg=colour153,bg=default,bright
# pane border
set-option -g pane-border-style fg=colour235
set-option -g pane-active-border-style fg=colour240
# pane number display
set-option -g display-panes-active-colour colour33
set-option -g display-panes-colour colour166
# Nord theme
run-shell "~/.tmux/themes/nord-tmux/nord.tmux"