From 8c08b5b569e2a9e9f63dea514591ecfa2d3bb392 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 28 Jul 2016 22:24:15 +0200 Subject: patch 7.4.2111 Problem: Defaults are very conservative. Solution: Move settings from vimrc_example.vim to defaults.vim. Load defaults.vim if no .vimrc was found. --- src/os_dos.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/os_dos.h') diff --git a/src/os_dos.h b/src/os_dos.h index 19748c496..9e8cd7c4a 100644 --- a/src/os_dos.h +++ b/src/os_dos.h @@ -25,6 +25,9 @@ #ifndef USR_VIMRC_FILE3 # define USR_VIMRC_FILE3 "$VIM\\_vimrc" #endif +#ifndef VIM_DEFAULTS_FILE +# define VIM_DEFAULTS_FILE "$VIMRUNTIME\\defaults.vim" +#endif #ifndef EVIM_FILE # define EVIM_FILE "$VIMRUNTIME\\evim.vim" #endif -- cgit v1.2.1