Works for me with gtk2 flavor. I'm not so sure I like the global
config. I have no real use for this, as I'm the only vim user on my
single-user machines... other opinions?

Tobias: I updated the vim.diff to take into account the update to vim 7.0.35

---------- Forwarded message ----------
From: Tobias Ulmer <[EMAIL PROTECTED]>
Date: Jul 9, 2006 12:47 AM
Subject: small vim patch
To: Chris Kuethe <[EMAIL PROTECTED]>


Hi Chris,

here's a small patch that makes it possible to have a system wide vimrc,
plugins, scripts, ... in /etc/vim. It also installs the example vimrc by
default. Should work with the gtk2 flavor as well (untested, because it
takes ages on my 486 ;))

Diff and patches attached, i hope you like it :)

Tobias




--
GDB has a 'break' feature; why doesn't it have 'fix' too?
--- src/feature.h.orig  Sun Jul  9 06:15:58 2006
+++ src/feature.h       Sun Jul  9 06:17:20 2006
@@ -897,12 +897,12 @@
 /*
  * SYS_VIMRC_FILE      Name of the system-wide .vimrc file.
  */
-/* #define SYS_VIMRC_FILE      "/etc/vimrc" */
+#define SYS_VIMRC_FILE RUNTIME_GLOBAL "/vimrc"
 
 /*
  * SYS_GVIMRC_FILE     Name of the system-wide .gvimrc file.
  */
-/* #define SYS_GVIMRC_FILE     "/etc/gvimrc" */
+#define SYS_GVIMRC_FILE        RUNTIME_GLOBAL "/gvimrc"
 
 /*
  * DFLT_HELPFILE       Name of the help file.

Attachment: vim.diff
Description: Binary data

Reply via email to