File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ setup_tmux_conf() {
7
7
# Copy mode (vi or emacs) is automatically determined from EDITOR
8
8
# environment variable set in test runner file `test/run-tests-within-vm`.
9
9
if tmux_is_at_least 2.4; then
10
- echo " bind-key -T copy-mode-vi y copy-selection-and-cancel" > ~ /.tmux.conf
11
- echo " bind-key -T copy-mode-emacs y copy-selection-and-cancel" >> ~ /.tmux.conf
12
- echo " run-shell '. /copycat.tmux'" >> ~ /.tmux.conf
10
+ echo " bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel" > ~ /.tmux.conf
11
+ echo " bind-key -T copy-mode y send-keys -X copy-selection-and-cancel" >> ~ /.tmux.conf
12
+ echo " run-shell '/vagrant /copycat.tmux'" >> ~ /.tmux.conf
13
13
else
14
14
echo " bind-key -t vi-copy y copy-selection" > ~ /.tmux.conf
15
15
echo " bind-key -t emacs-copy y copy-selection" >> ~ /.tmux.conf
16
- echo " run-shell '. /copycat.tmux'" >> ~ /.tmux.conf
16
+ echo " run-shell '/vagrant /copycat.tmux'" >> ~ /.tmux.conf
17
17
fi
18
18
}
19
19
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ setup_tmux_conf() {
7
7
# Copy mode (vi or emacs) is automatically determined from EDITOR
8
8
# environment variable set in test runner file `test/run-tests-within-vm`.
9
9
if tmux_is_at_least 2.4; then
10
- echo " bind-key -T copy-mode-vi y copy-selection-and-cancel" > ~ /.tmux.conf
11
- echo " bind-key -T copy-mode-emacs y copy-selection-and-cancel" >> ~ /.tmux.conf
10
+ echo " bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel" > ~ /.tmux.conf
11
+ echo " bind-key -T copy-mode y send-keys -X copy-selection-and-cancel" >> ~ /.tmux.conf
12
12
echo " set -g @copycat_search_C-t 'random string[[:digit:]]+'" >> ~ /.tmux.conf
13
- echo " run-shell '. /copycat.tmux'" >> ~ /.tmux.conf
13
+ echo " run-shell '/vagrant /copycat.tmux'" >> ~ /.tmux.conf
14
14
else
15
15
echo " bind-key -t vi-copy y copy-selection" > ~ /.tmux.conf
16
16
echo " bind-key -t emacs-copy y copy-selection" >> ~ /.tmux.conf
17
17
echo " set -g @copycat_search_C-t 'random string[[:digit:]]+'" >> ~ /.tmux.conf
18
- echo " run-shell '. /copycat.tmux'" >> ~ /.tmux.conf
18
+ echo " run-shell '/vagrant /copycat.tmux'" >> ~ /.tmux.conf
19
19
fi
20
20
}
21
21
# Cache the TMUX version for speed.
You can’t perform that action at this time.
0 commit comments