Hi,
> In this situation t_BE and t_BD are empty, thus bracketed paste is not
> supported.
Thanks for looking into it.
Adding this -
if =~ "screen"
let _BE = "\e[?2004h"
let _BD = "\e[?2004l"
exec "set t_PS=\e[200~"
exec "set t_PE=\e[201~"
endif
is a good solution for me.
thank you
> > I cannot reproduce this when running Vim in a terminal window.
> > What do you run, zsh? How do you start it, with ":term zsh" or with
> > ":term" while 'shell' is set to "zsh"?
> >
> > And what terminal is Vim running in and what is 'term' set to?
>
> Hi,
>
> just :terminal
> my shell
> I cannot reproduce this when running Vim in a terminal window.
> What do you run, zsh? How do you start it, with ":term zsh" or with
> ":term" while 'shell' is set to "zsh"?
>
> And what terminal is Vim running in and what is 'term' set to?
Hi,
just :terminal
my shell is zsh
> > How exactly do you paste?
>
> first -
> 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
I cannot reproduce this when running Vim in a terminal window.
What do you run, zsh? How
> How exactly do you paste?
first -
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
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below
Mark Kelly wrote:
> 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
> Vim does not enables bracketed paste mode if TERM=screen.
> To enable bracketed paste mode when vim runs in tmux, you may add following
> setting into .vimrc.
>
> if =~ "screen"
> let _BE = "\e[?2004h"
> let _BD = "\e[?2004l"
> exec "set t_PS=\e[200~"
> exec "set t_PE=\e[201~"
On Thu, 14 Jun 2018 19:46:45 -0700 (PDT)
M Kelly wrote:
> 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
On Do, 14 Jun 2018, M Kelly wrote:
> Hi,
>
> 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
Hi,
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
10 matches
Mail list logo