Re: terminal mode bracketed paste ?

2018-06-16 Thread M Kelly
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

Re: terminal mode bracketed paste ?

2018-06-16 Thread Bram Moolenaar
> > 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

Re: terminal mode bracketed paste ?

2018-06-15 Thread M Kelly
> 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

Re: terminal mode bracketed paste ?

2018-06-15 Thread Bram Moolenaar
> > 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

Re: terminal mode bracketed paste ?

2018-06-15 Thread M Kelly
> 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

Re: terminal mode bracketed paste ?

2018-06-15 Thread Bram Moolenaar
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

Re: terminal mode bracketed paste ?

2018-06-15 Thread M Kelly
> 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~"

Re: terminal mode bracketed paste ?

2018-06-15 Thread IWAMOTO Kouichi
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

Re: terminal mode bracketed paste ?

2018-06-15 Thread Christian Brabandt
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

terminal mode bracketed paste ?

2018-06-14 Thread M Kelly
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