forked from homeofficehost/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
27 lines (23 loc) · 831 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
# http://www.drbunsen.org/the-text-triumvirate/
# Generate the proper solarized colors by making sure tmux knows you are using 256 colors.
# tmux color management and copy/paste functionality with the system clipboard.
# set -g default-terminal "screen-256color"
set -g default-terminal "xterm-256color"
set -g default-shell /bin/zsh
set -g default-command "reattach-to-user-namespace -l zsh"
# set -g mode-mouse on
# setw -g mouse-select-window on
# setw -g mouse-select-pane on
set-option -g set-titles on
set-option -g set-titles-string '#T'
set -g allow-rename on
# Copy mode
setw -g mode-keys vi
bind ` copy-mode
unbind [
unbind p
bind p paste-buffer
# bind -t vi-copy v begin-selection
# bind -t vi-copy y copy-selection
# bind -t vi-copy Escape cancel
bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"