5
5
set-option -g repeat-time 1000
6
6
set-option -g default-shell $SHELL
7
7
8
- # Patch for OS X pbpaste and pbcopy under tmux.
9
- set-option -g default-command " reattach-to-user-namespace -l $SHELL "
10
-
11
8
# Default termtype. If the rcfile sets $TERM, that overrides this value.
12
9
set-option -g default-terminal screen-256color
13
10
set-option -g terminal-overrides xterm:color=256
@@ -113,7 +110,7 @@ bind v split-window -h
113
110
# vi mode begin selection
114
111
bind-key -T copy-mode-vi v send-keys -X begin-selection
115
112
# copy selection to osx clipboard
116
- bind-key -T copy-mode-vi v send-keys -X copy-pipe " reattach-to-user-namespace pbcopy"
113
+ bind-key -T copy-mode-vi v send-keys -X copy-pipe " pbcopy"
117
114
# copy till end of line to tmux clipboard
118
115
bind-key -T copy-mode-vi v send-keys -X copy-end-of-line
119
116
@@ -128,7 +125,7 @@ unbind ^L
128
125
bind ^L refresh-client
129
126
130
127
unbind-key -T copy-mode-vi Space ; bind-key -T copy-mode-vi v send-keys -X begin-selection
131
- unbind-key -T copy-mode-vi Enter ; bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel " reattach-to-user-namespace pbcopy"
128
+ unbind-key -T copy-mode-vi Enter ; bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel " pbcopy"
132
129
unbind-key -T copy-mode-vi C-v ; bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
133
130
unbind-key -T copy-mode-vi [ ; bind-key -T copy-mode-vi [ send-keys -X begin-selection
134
131
unbind-key -T copy-mode-vi ] ; bind-key -T copy-mode-vi ] send-keys -X copy-selection
0 commit comments