Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226113

Re: copy/paste in vim (in terminal)

From Toni Mas Soler <antomassol@gmail.com>
Newsgroups linux.debian.user
Subject Re: copy/paste in vim (in terminal)
Date 2020-08-11 15:50 +0200
Message-ID <ACCP8-3DZ-13@gated-at.bofh.it> (permalink)
References <ACuHT-7jH-1@gated-at.bofh.it> <ACwA2-8re-7@gated-at.bofh.it> <ACB6G-2y7-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Open your file using vi -C <<filename>>
That works fine for me.

Then you can alias vi as vi -C using "alias vi='vi -C'"

Toni Mas

Missatge de Greg Wooledge <wooledg@eeg.ccf.org> del dia dt., 11 d’ag.
2020 a les 13:57:
>
> On Tue, Aug 11, 2020 at 09:05:06AM +0200, Miguel A. Vallejo wrote:
> > Richard Hector (<richard@walnut.gen.nz>) wrote
> >
> > I used to be able to use my mouse to select/paste 'normally' (for X),
> > > when using vim in a terminal. More recently (a few years?), it doesn't
> > > seem to work.
> >
> > Yes, since a few years(?) you must use shift and the mouse for copy / paste
> > in vim using Debian's default configuration.
>
> This changed in stretch, and I've documented it on the wiki, although I
> was a bit late in doing so.
>
> https://wiki.debian.org/NewInStretch#Changes
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

copy/paste in vim (in terminal) Richard Hector <richard@walnut.gen.nz> - 2020-08-11 07:10 +0200
  Re: copy/paste in vim (in terminal) "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-11 08:00 +0200
    Re: copy/paste in vim (in terminal) Thomas Pircher <thp+debian@p5r.uk> - 2020-08-11 08:40 +0200
  Re: copy/paste in vim (in terminal) "Miguel A. Vallejo" <ea4eoz@gmail.com> - 2020-08-11 09:10 +0200
    Re: copy/paste in vim (in terminal) Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-11 14:00 +0200
      Re: copy/paste in vim (in terminal) Toni Mas Soler <antomassol@gmail.com> - 2020-08-11 15:50 +0200
    Re: copy/paste in vim (in terminal) Richard Hector <richard@walnut.gen.nz> - 2020-08-12 00:40 +0200

csiph-web