Re: copy/paste in vim (in terminal)

2020-08-11 Thread Richard Hector
On 11/08/20 7:05 pm, Miguel A. Vallejo wrote: > > > Richard Hector (mailto:rich...@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. > > >

Re: copy/paste in vim (in terminal)

2020-08-11 Thread Toni Mas Soler
Open your file using vi -C <> That works fine for me. Then you can alias vi as vi -C using "alias vi='vi -C'" Toni Mas Missatge de Greg Wooledge 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 () wrote > > > > I

Re: copy/paste in vim (in terminal)

2020-08-11 Thread Greg Wooledge
On Tue, Aug 11, 2020 at 09:05:06AM +0200, Miguel A. Vallejo wrote: > Richard Hector () 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

Re: copy/paste in vim (in terminal)

2020-08-11 Thread Miguel A. Vallejo
Richard Hector () 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

Re: copy/paste in vim (in terminal)

2020-08-11 Thread Thomas Pircher
Thomas Schmitt wrote: > > Sounds like "set mouse=a" is active. Sounds like it. Either disable mouse mode as Thomas describes it, or keep it enabled and use the shift key when copying and pasting. This is useful e.g. when vim is started in a terminal with mouse mode, like tmux or screen. Thomas

Re: copy/paste in vim (in terminal)

2020-08-10 Thread Thomas Schmitt
Hi, Richard Hector wrote: > I used to be able to use my mouse to select/paste 'normally' (for X), > when using vim in a terminal. Sounds like "set mouse=a" is active. Do in a running vim :set mouse-=a and check whether you get better copy+paste behavior. If it helps, put set mouse-=a into

copy/paste in vim (in terminal)

2020-08-10 Thread Richard Hector
Hi all, This often annoys me, but usually not to the point of posting about it. 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. If I'm using gvim, it's fine. If I'm using anything else in a