summaryrefslogtreecommitdiff
path: root/src/os_dos.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-12 20:35:58 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-12 20:35:58 +0200
commit22971aaa4530d6e8cb2c9c0c19b4f291d8442d61 (patch)
tree807b31b65f220fe35fc95b05fa9cbb872d99335d /src/os_dos.h
parent6395af8018c523da2339ecf60a457ba70494a9c4 (diff)
downloadvim-22971aaa4530d6e8cb2c9c0c19b4f291d8442d61.zip
updated for version 7.3.1178
Problem: Can't put all Vim config files together in one directory. Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
Diffstat (limited to 'src/os_dos.h')
-rw-r--r--src/os_dos.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/os_dos.h b/src/os_dos.h
index 103cded5a..17246d4f7 100644
--- a/src/os_dos.h
+++ b/src/os_dos.h
@@ -20,7 +20,10 @@
# define USR_VIMRC_FILE "$HOME\\_vimrc"
#endif
#ifndef USR_VIMRC_FILE2
-# define USR_VIMRC_FILE2 "$VIM\\_vimrc"
+# define USR_VIMRC_FILE2 "$HOME\\vimfiles\\vimrc"
+#endif
+#ifndef USR_VIMRC_FILE3
+# define USR_VIMRC_FILE3 "$VIM\\_vimrc"
#endif
#ifndef EVIM_FILE
# define EVIM_FILE "$VIMRUNTIME\\evim.vim"
@@ -41,7 +44,10 @@
# define USR_GVIMRC_FILE "$HOME\\_gvimrc"
# endif
# ifndef USR_GVIMRC_FILE2
-# define USR_GVIMRC_FILE2 "$VIM\\_gvimrc"
+# define USR_GVIMRC_FILE2 "$HOME\\vimfiles\\gvimrc"
+# endif
+# ifndef USR_GVIMRC_FILE3
+# define USR_GVIMRC_FILE3 "$VIM\\_gvimrc"
# endif
# ifndef SYS_MENU_FILE
# define SYS_MENU_FILE "$VIMRUNTIME\\menu.vim"