It seems for me bracketed paste is not enabled in terminal mode.
If I copy a few lines then paste into my zsh outside of vim (in tmux) then bracketed paste is enabled and the lines are not executed until I hit enter.
But if in terminal mode I paste then each line is executed.
Is this possible ? Is there a config setting I can enable ?
Any help appreciated.
thx,
mark
Thank you, works great :-)
take care,
-mark
first -
<C-\><C-n> to get into normal mode
V, select a few lines moving around
yank
back to terminal mode
then -
paste with ctrl-shift-v or with mouse middle button
thx,
-m
Hi,
just :terminal
my shell is zsh
TERM=screen-256color
(all from within tmux)
thx,
-m
> In this situation t_BE and t_BD are empty, thus bracketed paste is not
> supported.
Thanks for looking into it.
Adding this -
if &term =~ "screen"
let &t_BE = "\e[?2004h"
let &t_BD = "\e[?2004l"
exec "set t_PS=\e[200~"
exec "set t_PE=\e[201~"
endif
is a good solution for me.
thank you so much for vim, and thanks to everyone for all their support,
-m