I think it has nothing to do with display, since if the save the file and
close and open it again, the displayed line are the same.
in my .tmux.conf file, I found out two lines that is not supported by tmux
2.4
"
bind -t vi-copy v begin-selection # `v` begins a selection
bind -t vi-copy V rectangle-toggle # `V` toggle line- and columnwise
selection
"
After commented them out, the yank for *multiple lines* in tmux vim still
does not work, but *yank one line works now *
On Fri, 21 Apr 2017 at 13:59 Nicholas Marriott <[email protected]>
wrote:
>
> If you are copying and pasting entirely within vim, tmux has very little
> to do with it. Are you sure the actual paste is wrong and it isn't just
> being displaying the wrong thing?
>
>
> On Fri, Apr 21, 2017 at 11:37:23AM +0000, Xudong Sun wrote:
> > Hi,A
> > A A Thanks for the response.
> > A A Ok, the process isA
> > A A I logged into a cluster, then I type tmux, then I type vim, then
> I
> > press F1 to open nerdtree and useA
> > "t" to open a tab for a file I want to edit. In this file, I select a
> line
> > using "v" and type "y" or "yy", then I type "p" in another line of the
> > same file.A Something else will be pasted rather than the line I
> > selected.
> > On Fri, 21 Apr 2017 at 12:43 Nelo-Thara Wallus <[email protected]>
> wrote:
> >
> > Please explain your problem _exactly_, including which buttons
> you're
> > using and if you mean another vim instance by 'paste them in another
> > place'.
> >
> > Without specific information on your problem we cannot give you
> educated
> > guesses.
> >
> > - Nelo
> >
> > On 2017-04-21 10:37, Xudong Sun wrote:
> > > Hi,
> > >A A A I updated tmux from 1.8 to 2.4 and now the problem is if I
> open
> > a R
> > > file and try to copy one existing line and paste them in another
> > place, the
> > > paste result is something else. But yank and paste does work if I
> > input
> > > something new to the file.
> > >A A A Anyone has an idea if this is because the tmux version ?
> > >
> > > Thanks
> > >
> > > --
> > > You received this message because you are subscribed to the Google
> > Groups "tmux-users" group.
> > > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to [email protected].
> > > To post to this group, send an email to
> [email protected].
> > > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > /"\A ASCII Ribbon Campaign
> > \ /A - against HTML emails
> > A XA A - against proprietory attachments
> > / \A http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "tmux-users" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.