Re: [PATCH] Add project-wide .vimrc configuration

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

 



At 18:26 -0600 08 Dec 2020, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
By default it's ignored, you need the following in your ~/.vimrc

 set exrc

Running `:help 'exrc'` in vim includes the text:

        Setting this option is a potential security leak.  E.g., consider
        unpacking a package or fetching files from github, a .vimrc in there
        might be a trojan horse.  BETTER NOT SET THIS OPTION!
        Instead, define an autocommand in your .vimrc to set options for a
        matching directory.

So I don't think it's a good idea to encourage people to do that by using a name that invites it. Also I think that the file would be more discoverable for people to incorporate into their own configuration if not named as a hidden file.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux