vim color and copy/paste

Patrick Lamaiziere patrick at davenulle.org
Fri Jul 13 14:16:23 UTC 2018


Le Thu, 12 Jul 2018 11:02:10 +0100,
tech-lists <tech-lists at zyxst.net> a écrit :

> On 12/07/2018 10:54, Patrick Lamaiziere wrote:
> > Any idea why with Vim in a terminal xterm I cannot copy/paste text
> > when the text is colored (syntax color by sample)?
> > 
> > vim-lite-8.0.0134
> > freebsd 11.2  
> 
> Hi,
> 
> What's in your .vimrc ?
> 
> In a minimal config, I have just the following:
> 
> set mouse=
> 
> otherwise mouse commands get interpreted by vim and I don't want that.

I've edited /usr/local/etc/vim/vimrc and /root/.vimrc to add
set mouse-=a

without vim uses a 'visual mode'.

Thanks a lot, regards.



More information about the freebsd-questions mailing list