-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
36 lines (26 loc) · 994 Bytes
/
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
# Basic modification
#
set-option -g default-shell /bin/zsh
# I like status bar on the top
set-option -g status-position top
# Starting window index from 1 instead of 0
set-option -g base-index 1
# I need good buffer
set-option -g history-limit 100000
# I don't want to wait 500ms after switching Panes or Windows
set-option -g escape-time 300
# The same reindexing for Pane
set-window-option -g pane-base-index 1
# For me, vi copy mode is easier than emacs
set-window-option -g mode-keys vi
# To emulate Terminator Global function
# Press C-B followed by g, I can push the same command to multiple machines
bind-key g set-window-option -g synchronize-panes on
# C-B followed by G stops broadcasting
bind-key G set-window-option -g synchronize-panes off
# OPTIONAL: copy into Mac clipboard
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
# Added in July 2014.
set-window-option -g automatic-rename off
# Set 256 Color
set -g default-terminal "screen-256color"