Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-06-04 Fir de Conversatie skeept
On Monday, April 15, 2013 6:49:57 AM UTC-5, Bram Moolenaar wrote:
 Lech Lorens wrote:
 
 
 
  On 13-Apr-2013 Bram Moolenaar wrote:
 
   Thanks.  Thus only when ~/.vimrc does not exist then ~/.vim/vimrc will
 
   be used.  That should work for places where a new Vim is installed.  For
 
   older Vim versions one would have to create a ~/.vimrc file that sources
 
   ~/.vim/vimrc.
 
  
 
  Do we want to change the priority? I meant not to confuse people if by 
 
  any chance they have both ~/.vimrc and ~/.vim/vimrc.
 
 
 
 In my opinion, when a user sees a ~/.vimrc he expects it to be used and
 
 would be very surprised when it is skipped.  That is both for existing
 
 Vim users and any generic Unix user.  Far fewer people would know about
 
 the possibility for a ~/.vim/vimrc to exist.
 
 

I don't remember if the patch discussed in this thread made it vim already...
If not is it to late to include for 7.4?

Regards,

Jorge

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-06-04 Fir de Conversatie Gary Johnson
On 2013-06-04, Bram Moolenaar wrote:
 Skeept wrote:
 
  On Monday, April 15, 2013 6:49:57 AM UTC-5, Bram Moolenaar wrote:
   Lech Lorens wrote:
   
   
On 13-Apr-2013 Bram Moolenaar wrote:
 Thanks.  Thus only when ~/.vimrc does not exist then ~/.vim/vimrc will
 be used.  That should work for places where a new Vim is installed.  
 For
 older Vim versions one would have to create a ~/.vimrc file that 
 sources
 ~/.vim/vimrc.

Do we want to change the priority? I meant not to confuse people if by 
any chance they have both ~/.vimrc and ~/.vim/vimrc.
   
   In my opinion, when a user sees a ~/.vimrc he expects it to be used and
   would be very surprised when it is skipped.  That is both for existing
   Vim users and any generic Unix user.  Far fewer people would know about
   the possibility for a ~/.vim/vimrc to exist.
  
  I don't remember if the patch discussed in this thread made it vim 
  already...
  If not is it to late to include for 7.4?
 
 It's under the slightly incompatible changes list.
 I'll probably include it, but I wonder if it hurts anyone.

If someone has a ~/.vimrc it won't make any difference.

If someone does not have a ~/.vimrc but does have a ~/.vim/vimrc,
the latter will be sourced now whereas it was not before.

That could happen if someone moved aside their ~/.vimrc for testing
or debugging, or is using ~/.exec instead of ~/.vimrc to share
settings between vim and another vi, or is using EXINIT instead of
~/.vimrc for some reason.

Those are the situations I can think of where this change might take
someone by unhappy surprise.  All are cases where someone is
configuring Vim by unusual means _and_ happens to have a file named
vimrc laying around in their ~/.vim directory.  It they don't like
the new behavior and don't want to change what they're doing, their
only solution is to rename their ~/.vim/vimrc file.

It doesn't seem like a big risk or problem to me, but I can't say
there's no risk.

Regards,
Gary

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-06-04 Fir de Conversatie 陈云杰
i like this patch
在 2013-6-5 上午3:42,Bram Moolenaar b...@moolenaar.net写道:


 Skeept wrote:

  On Monday, April 15, 2013 6:49:57 AM UTC-5, Bram Moolenaar wrote:
   Lech Lorens wrote:
  
  
On 13-Apr-2013 Bram Moolenaar wrote:
 Thanks.  Thus only when ~/.vimrc does not exist then ~/.vim/vimrc
 will
 be used.  That should work for places where a new Vim is
 installed.  For
 older Vim versions one would have to create a ~/.vimrc file that
 sources
 ~/.vim/vimrc.
   
Do we want to change the priority? I meant not to confuse people if
 by
any chance they have both ~/.vimrc and ~/.vim/vimrc.
  
   In my opinion, when a user sees a ~/.vimrc he expects it to be used and
   would be very surprised when it is skipped.  That is both for existing
   Vim users and any generic Unix user.  Far fewer people would know about
   the possibility for a ~/.vim/vimrc to exist.
 
  I don't remember if the patch discussed in this thread made it vim
 already...
  If not is it to late to include for 7.4?

 It's under the slightly incompatible changes list.
 I'll probably include it, but I wonder if it hurts anyone.

 --
 hundred-and-one symptoms of being an internet addict:
 91. It's Saturday afternoon in the middle of May and you
 are on computer.

  /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net
 \\\
 ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\
 \\\  an exciting new programming language -- http://www.Zimbu.org
  ///
  \\\help me help AIDS victims -- http://ICCF-Holland.org
  ///

 --
 --
 You received this message from the vim_dev maillist.
 Do not top-post! Type your reply below the text you are replying to.
 For more information, visit http://www.vim.org/maillist.php

 ---
 You received this message because you are subscribed to the Google Groups
 vim_dev group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to vim_dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-15 Fir de Conversatie Bram Moolenaar

Lech Lorens wrote:

 On 13-Apr-2013 Bram Moolenaar b...@moolenaar.net wrote:
  Thanks.  Thus only when ~/.vimrc does not exist then ~/.vim/vimrc will
  be used.  That should work for places where a new Vim is installed.  For
  older Vim versions one would have to create a ~/.vimrc file that sources
  ~/.vim/vimrc.
 
 Do we want to change the priority? I meant not to confuse people if by 
 any chance they have both ~/.vimrc and ~/.vim/vimrc.

In my opinion, when a user sees a ~/.vimrc he expects it to be used and
would be very surprised when it is skipped.  That is both for existing
Vim users and any generic Unix user.  Far fewer people would know about
the possibility for a ~/.vim/vimrc to exist.

-- 
hundred-and-one symptoms of being an internet addict:
171. You invent another person and chat with yourself in empty chat rooms.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-14 Fir de Conversatie Lech Lorens
On 13-Apr-2013 Bram Moolenaar b...@moolenaar.net wrote:
 Thanks.  Thus only when ~/.vimrc does not exist then ~/.vim/vimrc will
 be used.  That should work for places where a new Vim is installed.  For
 older Vim versions one would have to create a ~/.vimrc file that sources
 ~/.vim/vimrc.

Do we want to change the priority? I meant not to confuse people if by 
any chance they have both ~/.vimrc and ~/.vim/vimrc.

 
 Is there anything else for Vim configuration that is outside of ~/.vim?

AFAIK the location of all the other stuff can be controlled by one or 
another setting.

-- 
Cheers,
Lech

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-13 Fir de Conversatie Lech Lorens
On 12-Apr-2013 Bram Moolenaar b...@moolenaar.net wrote:
 
 Lech Lorens wrote:
 
  On 12 April 2013 13:45, Bram Moolenaar b...@moolenaar.net wrote:
  
  
   The updated docs say:
   Unix$HOME/.gvimrc or $HOME/.vim/gvimrc
   Unix$HOME/.vimrc or $HOME/.vim/vimrc
  
   What does that or mean?  What if both files exist?
  
   This is an important thing, where your Vim settings are located.  This
   deserves proper explanation, also for beginners.
  
  
  OK, I'll update the docs. BTW the docs do not mention the values for VMS.
  Would you like to have them added as well?
 
 Yes.  Or we can send an email to the VMS user. :-)

Oh, I didn't realise there were so many of them :-)
I added a note about the order in which the vimrc/gvimrc files are 
searched and which one of them is actually sourced. I didn't add the 
note for VMS.

-- 
Cheers,
Lech

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index b2e6a0c..be82a0c 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -93,10 +93,16 @@ and initialize other things that you may want to set up differently from the
 terminal version.
 
 Recommended place for your personal GUI initializations:
-	Unix		$HOME/.gvimrc
-	OS/2		$HOME/.gvimrc or $VIM/.gvimrc
-	MS-DOS and Win32$HOME/_gvimrc or $VIM/_gvimrc
-	Amiga		s:.gvimrc or $VIM/.gvimrc
+	Unix		$HOME/.gvimrc or $HOME/.vim/gvimrc
+	OS/2		$HOME/.gvimrc, $HOME/vimfiles/gvimrc
+			or $VIM/.gvimrc
+	MS-DOS and Win32$HOME/_gvimrc, $HOME/vimfiles/gvimrc
+			or $VIM/_gvimrc
+	Amiga		s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
+			or $VIM/.gvimrc
+
+The personal initialization files are searched in the order specified above
+and only the first that is found is read.
 
 There are a number of options which only have meaning in the GUI version of
 Vim.  These are 'guicursor', 'guifont', 'guipty' and 'guioptions'.  They are
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 84dc78b..de827d9 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -754,10 +754,16 @@ accordingly.  Vim proceeds in this order:
 	name.  Also see |vimrc-intro|.
 
 	Recommended place for your personal initializations:
-		Unix		$HOME/.vimrc
-		OS/2		$HOME/.vimrc or $VIM/.vimrc (or _vimrc)
-		MS-DOS and Win32$HOME/_vimrc or $VIM/_vimrc
-		Amiga		s:.vimrc or $VIM/.vimrc
+		Unix		$HOME/.vimrc or $HOME/.vim/vimrc
+		OS/2		$HOME/.vimrc, $HOME/vimfiles/vimrc
+or $VIM/.vimrc (or _vimrc)
+		MS-DOS and Win32$HOME/_vimrc, $HOME/vimfiles/vimrc
+or $VIM/_vimrc
+		Amiga		s:.vimrc, home:.vimrc, home:vimfiles:vimrc
+or $VIM/.vimrc
+
+	The personal initialization files are searched in the order specified
+	above and only the first that is found is read.
 
 	If Vim was started with -u filename, the file filename is used.
 	All following initializations until 4. are skipped.
diff --git a/src/gui.c b/src/gui.c
index 1c60b7a..22dfba9 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -547,10 +547,14 @@ gui_init()
 		  do_source((char_u *)USR_GVIMRC_FILE2, TRUE,
 			  DOSO_GVIMRC) == FAIL
 #endif
+#ifdef USR_GVIMRC_FILE3
+		  do_source((char_u *)USR_GVIMRC_FILE3, TRUE,
+			  DOSO_GVIMRC) == FAIL
+#endif
 )
 	{
-#ifdef USR_GVIMRC_FILE3
-		(void)do_source((char_u *)USR_GVIMRC_FILE3, TRUE, DOSO_GVIMRC);
+#ifdef USR_GVIMRC_FILE4
+		(void)do_source((char_u *)USR_GVIMRC_FILE4, TRUE, DOSO_GVIMRC);
 #endif
 	}
 
@@ -593,6 +597,10 @@ gui_init()
 			 fullpathcmp((char_u *)USR_GVIMRC_FILE3,
  (char_u *)GVIMRC_FILE, FALSE) != FPC_SAME
 #endif
+#ifdef USR_GVIMRC_FILE4
+			 fullpathcmp((char_u *)USR_GVIMRC_FILE4,
+ (char_u *)GVIMRC_FILE, FALSE) != FPC_SAME
+#endif
 			)
 		do_source((char_u *)GVIMRC_FILE, TRUE, DOSO_GVIMRC);
 
diff --git a/src/main.c b/src/main.c
index d3c54fa..5757ab2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2976,6 +2976,10 @@ source_startup_scripts(parmp)
 		 do_source((char_u *)USR_VIMRC_FILE3, TRUE,
 			   DOSO_VIMRC) == FAIL
 #endif
+#ifdef USR_VIMRC_FILE4
+		 do_source((char_u *)USR_VIMRC_FILE4, TRUE,
+			   DOSO_VIMRC) == FAIL
+#endif
 		 process_env((char_u *)EXINIT, FALSE) == FAIL
 		 do_source((char_u *)USR_EXRC_FILE, FALSE, DOSO_NONE) == FAIL)
 	{
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 69a1523..bcdba32 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -158,7 +158,10 @@ typedef long off_t;
 # define USR_VIMRC_FILE2 home:.vimrc
 #endif
 #ifndef 

Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-13 Fir de Conversatie Lech Lorens
On 12-Apr-2013 Gary Johnson garyj...@spocom.com wrote:
 On 2013-04-12, Lech Lorens wrote:
  
  On 12 April 2013 13:45, Bram Moolenaar wrote:
  
  
  The updated docs say:
  Unix$HOME/.gvimrc or $HOME/.vim/gvimrc
  Unix$HOME/.vimrc or $HOME/.vim/vimrc
  
  What does that or mean?  What if both files exist?
  
  This is an important thing, where your Vim settings are located.  This
  deserves proper explanation, also for beginners.
  
  
  OK, I'll update the docs.
 
 :help .vimrc will need to be updated as well.

Thanks for the reminder!

 Nice addition.

Good to know someone will find it useful.

-- 
Cheers,
Lech

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-12 Fir de Conversatie Lech Lorens
The attached patch makes it possible to move the vimrc and gvimrc files 
to your vim settings directory:
~/.vim/ (UNIX)
~\vimfiles\ (Windows)

etc. This makes it easier to move Vim settings from machine to machine: 
you just copy one directory to the right place and it works.

Please, check and apply.

-- 
Cheers,
Lech

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index b2e6a0c..c842020 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -93,10 +93,13 @@ and initialize other things that you may want to set up differently from the
 terminal version.
 
 Recommended place for your personal GUI initializations:
-	Unix		$HOME/.gvimrc
-	OS/2		$HOME/.gvimrc or $VIM/.gvimrc
-	MS-DOS and Win32$HOME/_gvimrc or $VIM/_gvimrc
-	Amiga		s:.gvimrc or $VIM/.gvimrc
+	Unix		$HOME/.gvimrc or $HOME/.vim/gvimrc
+	OS/2		$HOME/.gvimrc, $HOME/vimfiles/gvimrc
+			or $VIM/.gvimrc
+	MS-DOS and Win32$HOME/_gvimrc, $HOME/vimfiles/gvimrc
+			or $VIM/_gvimrc
+	Amiga		s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
+			or $VIM/.gvimrc
 
 There are a number of options which only have meaning in the GUI version of
 Vim.  These are 'guicursor', 'guifont', 'guipty' and 'guioptions'.  They are
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 84dc78b..156677c 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -754,10 +754,13 @@ accordingly.  Vim proceeds in this order:
 	name.  Also see |vimrc-intro|.
 
 	Recommended place for your personal initializations:
-		Unix		$HOME/.vimrc
-		OS/2		$HOME/.vimrc or $VIM/.vimrc (or _vimrc)
-		MS-DOS and Win32$HOME/_vimrc or $VIM/_vimrc
-		Amiga		s:.vimrc or $VIM/.vimrc
+		Unix		$HOME/.vimrc or $HOME/.vim/vimrc
+		OS/2		$HOME/.vimrc, $HOME/vimfiles/vimrc
+or $VIM/.vimrc (or _vimrc)
+		MS-DOS and Win32$HOME/_vimrc, $HOME/vimfiles/vimrc
+or $VIM/_vimrc
+		Amiga		s:.vimrc, home:.vimrc, home:vimfiles:vimrc
+or $VIM/.vimrc
 
 	If Vim was started with -u filename, the file filename is used.
 	All following initializations until 4. are skipped.
diff --git a/src/gui.c b/src/gui.c
index 1c60b7a..22dfba9 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -547,10 +547,14 @@ gui_init()
 		  do_source((char_u *)USR_GVIMRC_FILE2, TRUE,
 			  DOSO_GVIMRC) == FAIL
 #endif
+#ifdef USR_GVIMRC_FILE3
+		  do_source((char_u *)USR_GVIMRC_FILE3, TRUE,
+			  DOSO_GVIMRC) == FAIL
+#endif
 )
 	{
-#ifdef USR_GVIMRC_FILE3
-		(void)do_source((char_u *)USR_GVIMRC_FILE3, TRUE, DOSO_GVIMRC);
+#ifdef USR_GVIMRC_FILE4
+		(void)do_source((char_u *)USR_GVIMRC_FILE4, TRUE, DOSO_GVIMRC);
 #endif
 	}
 
@@ -593,6 +597,10 @@ gui_init()
 			 fullpathcmp((char_u *)USR_GVIMRC_FILE3,
  (char_u *)GVIMRC_FILE, FALSE) != FPC_SAME
 #endif
+#ifdef USR_GVIMRC_FILE4
+			 fullpathcmp((char_u *)USR_GVIMRC_FILE4,
+ (char_u *)GVIMRC_FILE, FALSE) != FPC_SAME
+#endif
 			)
 		do_source((char_u *)GVIMRC_FILE, TRUE, DOSO_GVIMRC);
 
diff --git a/src/main.c b/src/main.c
index d3c54fa..5757ab2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2976,6 +2976,10 @@ source_startup_scripts(parmp)
 		 do_source((char_u *)USR_VIMRC_FILE3, TRUE,
 			   DOSO_VIMRC) == FAIL
 #endif
+#ifdef USR_VIMRC_FILE4
+		 do_source((char_u *)USR_VIMRC_FILE4, TRUE,
+			   DOSO_VIMRC) == FAIL
+#endif
 		 process_env((char_u *)EXINIT, FALSE) == FAIL
 		 do_source((char_u *)USR_EXRC_FILE, FALSE, DOSO_NONE) == FAIL)
 	{
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 69a1523..bcdba32 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -158,7 +158,10 @@ typedef long off_t;
 # define USR_VIMRC_FILE2 home:.vimrc
 #endif
 #ifndef USR_VIMRC_FILE3
-# define USR_VIMRC_FILE3 $VIM/.vimrc
+# define USR_VIMRC_FILE3 home:vimfiles:vimrc
+#endif
+#ifndef USR_VIMRC_FILE4
+# define USR_VIMRC_FILE4 $VIM/.vimrc
 #endif
 #ifndef EVIM_FILE
 # define EVIM_FILE	$VIMRUNTIME/evim.vim
@@ -171,7 +174,10 @@ typedef long off_t;
 # define USR_GVIMRC_FILE2 home:.gvimrc
 #endif
 #ifndef USR_GVIMRC_FILE3
-# define USR_GVIMRC_FILE3 $VIM/.gvimrc
+# define USR_GVIMRC_FILE3 home:vimfiles:gvimrc
+#endif
+#ifndef USR_GVIMRC_FILE4
+# define USR_GVIMRC_FILE4 $VIM/.gvimrc
 #endif
 
 #ifdef FEAT_VIMINFO
diff --git a/src/os_dos.h b/src/os_dos.h
index 103cded..17246d4 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	

Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-12 Fir de Conversatie Bram Moolenaar

Lech Lorens wrote:

 The attached patch makes it possible to move the vimrc and gvimrc files 
 to your vim settings directory:
 ~/.vim/ (UNIX)
 ~\vimfiles\ (Windows)

True.

 etc. This makes it easier to move Vim settings from machine to machine: 
 you just copy one directory to the right place and it works.
 
 Please, check and apply.

The updated docs say:
Unix$HOME/.gvimrc or $HOME/.vim/gvimrc
Unix$HOME/.vimrc or $HOME/.vim/vimrc

What does that or mean?  What if both files exist?

This is an important thing, where your Vim settings are located.  This
deserves proper explanation, also for beginners.


-- 
hundred-and-one symptoms of being an internet addict:
152. You find yourself falling for someone you've never seen or hardly
 know, but, boy can he/she TYPE!!

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [patch] Store vimrc and gvimrc in your ~/.vim, ~\vimfiles\ directory

2013-04-12 Fir de Conversatie Bram Moolenaar

Lech Lorens wrote:

 On 12 April 2013 13:45, Bram Moolenaar b...@moolenaar.net wrote:
 
 
  The updated docs say:
  Unix$HOME/.gvimrc or $HOME/.vim/gvimrc
  Unix$HOME/.vimrc or $HOME/.vim/vimrc
 
  What does that or mean?  What if both files exist?
 
  This is an important thing, where your Vim settings are located.  This
  deserves proper explanation, also for beginners.
 
 
 OK, I'll update the docs. BTW the docs do not mention the values for VMS.
 Would you like to have them added as well?

Yes.  Or we can send an email to the VMS user. :-)

-- 
hundred-and-one symptoms of being an internet addict:
157. You fum through a magazine, you first check to see if it has a web
 address.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
vim_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.