Wayne Blaszczyk wrote:
Hi,

Can I propose adding the following line to /etc/vimrc:

let skip_defaults_vim=1

This fixes the following issue:
Creating an empty ~/.vimrc prevents vim from overriding settings in /etc/vimrc 
by using /usr/share/vim/vim80/defaults.vim.

More info can be found here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864074

Interesting. I am thinking that there may be initialization in /usr/share/vim/vim80/defaults.vim that is useful, but the /etc/vimrc should be able to supersede it.

What do you think about adding to the start of /etc/vimrc:

source $VIMRUNTIME/defaults.vim
let skip_defaults_vim=1

" rest of /etc/vimrc

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to