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_unix.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/os_unix.h') diff --git a/src/os_unix.h b/src/os_unix.h index b835df657..4b3a3f10d 100644 --- a/src/os_unix.h +++ b/src/os_unix.h @@ -303,6 +303,10 @@ typedef struct dsc$descriptor DESC; # endif #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