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 <wool...@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 (<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. > > > > 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 >