-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
29 lines (22 loc) · 1.16 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
# Enable True color support
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-option -g history-limit 20000
# some tips taken from http://mutelight.org/practical-tmux
setw -g aggressive-resize on
# Enable text selection possible.
set -g mouse off
# Highlight active window
setw -g window-status-current-style bg=yellow,fg=black,dim
# setw -g status-style bg=white,fg=black
setw -g mode-keys vi # I especially like being able to search with /,? when in copy-mode
unbind ^l
bind ^l refresh-client
set -s escape-time 0
set-option -g default-terminal "tmux-256color"
set -g focus-events on
set -g status on
# --- clipboard -------------------------------------------------------------------
set -g set-clipboard off
if-shell 'if [ -n ${WSL_DISTRO_NAME} ]; then true; else false; fi' \
'bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "~/winhome/.wsl/gclpr.exe copy" ; bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "~/winhome/.wsl/gclpr.exe copy"' \
'bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "gclpr copy" ; bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "gclpr copy"'