[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stretch vim doesnt cut and paste



	Hi.

On Sun, 20 Aug 2017 07:22:34 -0400
kamaraju kusumanchi <raju.mailinglists@gmail.com> wrote:

> On Sat, Aug 19, 2017 at 8:04 AM, Reco <recoverym4n@gmail.com> wrote:
> >
> > A known problem. Apparently upstream thought (and Debian maintainer
> > followed) that it would be good idea to enable so-called 'mouse support'
> > in vim. As a result X cutbuffer ceased to function in vim.
> > They also enabled 'incremental search' by default too, which is
> > annoying to say the least.
> >
> > It took me some time to figure a way to disable these 'innovations'
> > systemwide, but I got it:
> >
> > echo let g:skip_defaults_vim = 1 >> /etc/vim/vimrc.local
> 
> Using a sledgehammer to crack a nut, uh? YMMV but I find that a lot of
> those changes are good. If you are annoyed by the incremental search,
> simply disable it by adding
> 
> set noic
> 
> in ~/.vimrc.

That part is simple (per-user). The hard question is - how can I force
vim to respect 'noic' without the need to create ~/.vimrc for every
single user that I use?

Modifying /etc/vim/vimrc as [1] suggests should work, but it'll be
annoying to deal with debconf on vim upgrades.

Reco

[1] http://layer-acht.org/thinking/blog/20170614-stretch-vim/


Reply to: