commit | 8c08b5b569e2a9e9f63dea514591ecfa2d3bb392 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 28 22:24:15 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 28 22:24:15 2016 +0200 |
tree | 4303829cd42d4910ee0d0dfc35687c7b313c5e14 | |
parent | eac784eced501c54d2c99e18a1af96cd996f3a6c [diff] [blame] |
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.
diff --git a/src/os_unix.h b/src/os_unix.h index b835df6..4b3a3f1 100644 --- a/src/os_unix.h +++ b/src/os_unix.h
@@ -303,6 +303,10 @@ # endif #endif +#ifndef VIM_DEFAULTS_FILE +# define VIM_DEFAULTS_FILE "$VIMRUNTIME/defaults.vim" +#endif + #ifndef EVIM_FILE # define EVIM_FILE "$VIMRUNTIME/evim.vim" #endif