-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
45 lines (35 loc) · 1.33 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
# Start Window Numbering at 1
set -g base-index 1
set-window-option -g pane-base-index 1
# Capture mouse events
set -g mouse on
# improve colors
set -g default-terminal 'tmux-256color'
set-option -ga terminal-overrides ",xterm-256color:Tc"
# renumber windows sequentially after closing any of them
set -g renumber-windows on
# soften status bar color from harsh green to light gray
set -g status-style bg='#666666',fg='#aaaaaa'
# remove administrative debris (session name, hostname, time) in status bar
set -g status-left ''
set -g status-right ''
# increase scrollback lines
set -g history-limit 10000
# remap prefix to Alt + a
set -g prefix M-a
# bind 'M-a M-a' to type 'M-a'
bind M-a send-prefix
unbind C-b
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Copy to the system clipboard
set -g @plugin 'tmux-plugins/tmux-yank'
# Quickly open any path on your terminal window in your $EDITOR of choice!
set -g @plugin 'tmux-plugins/tmux-fpp'
# Quickly open any url on your terminal window!
set -g @plugin 'tmux-plugins/tmux-urlview'
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'