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


Groups > linux.debian.user > #185814

Re: Stretch vim doesnt cut and paste

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: Stretch vim doesnt cut and paste
Date 2017-08-24 11:40 +0200
Message-ID <uhWMi-4E5-23@gated-at.bofh.it> (permalink)
References (2 earlier) <ugwAx-6ji-1@gated-at.bofh.it> <ugBgS-Qz-9@gated-at.bofh.it> <ugBAf-Z0-17@gated-at.bofh.it> <ugCmC-1uD-9@gated-at.bofh.it> <uhR9T-113-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Thu, Aug 24, 2017 at 03:38:10PM +1200, Richard Hector wrote:
> On 21/08/17 05:31, Reco wrote:
> > In jessie and before that one could put needed customizations
> > into /etc/vim/vimrc (and it works as of stretch)
> > or into /etc/vim/vimrc.local (and it's ignored in stretch).
> 
> Looking at a stretch box (installed clean, not upgraded), /etc/vim/vimrc
> has this at the bottom:
> 
> " Source a global configuration file if available
> if filereadable("/etc/vim/vimrc.local")
>   source /etc/vim/vimrc.local
> endif
> 
> So it should be read. Is yours not readable by the user? (I don't have
> one at all; I haven't felt the need yet)

No, permissions for /etc/vim/vimrc.local are 644.
The problem is (had to use strace to figure this one out) that on vim
start /etc/vim/vimrc.local is read first, and
/usr/share/vim/vim80/defaults.vim after it.

Therefore any customizations put into /etc/vim/vimrc.local can be
overridden by defaults.vim, which is happpening for 'mouse' and
'incsearch' at least.

Unless you forbid vim to interpret defaults.vim at all.
It can be achieved by creating user's .vimrc, or 'g:skip_defaults_vim=1'.

Reco

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


Thread

Stretch vim doesnt cut and paste Rob van der Putten <rob@sput.nl> - 2017-08-19 14:00 +0200
  Re: Stretch vim doesnt cut and paste Reco <recoverym4n@gmail.com> - 2017-08-19 14:10 +0200
    Re: Stretch vim doesnt cut and paste kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-08-20 13:30 +0200
      Re: Stretch vim doesnt cut and paste Reco <recoverym4n@gmail.com> - 2017-08-20 18:30 +0200
        Re: Stretch vim doesnt cut and paste Nicolas George <george@nsup.org> - 2017-08-20 18:50 +0200
          Re: Stretch vim doesnt cut and paste Reco <recoverym4n@gmail.com> - 2017-08-20 19:40 +0200
            Re: Stretch vim doesnt cut and paste Richard Hector <richard@walnut.gen.nz> - 2017-08-24 05:40 +0200
              Re: Stretch vim doesnt cut and paste Reco <recoverym4n@gmail.com> - 2017-08-24 11:40 +0200
                Re: Stretch vim doesnt cut and paste David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 15:50 +0200
                Re: Stretch vim doesnt cut and paste Reco <recoverym4n@gmail.com> - 2017-08-24 17:20 +0200
                Re: Stretch vim doesnt cut and paste Elimar Riesebieter <riesebie@lxtec.de> - 2017-08-24 22:10 +0200
                Re: Stretch vim doesnt cut and paste Reco <recoverym4n@gmail.com> - 2017-08-24 22:50 +0200
      Re: Stretch vim doesnt cut and paste kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-08-21 01:10 +0200
  Re: Stretch vim doesnt cut and paste Nicolas George <george@nsup.org> - 2017-08-19 14:20 +0200
  Re: Stretch vim doesnt cut and paste Brian <ad44@cityscape.co.uk> - 2017-08-19 14:20 +0200
    Re: Stretch vim doesnt cut and paste Rob van der Putten <rob@sput.nl> - 2017-08-19 14:40 +0200
      Re: Stretch vim doesnt cut and paste behrad eslami <behrad_es@yahoo.com> - 2017-08-20 08:20 +0200

csiph-web