[csw-devel] SF.net SVN: gar:[3025] csw/mgar/pkg/vim/trunk/files

harpchad at users.sourceforge.net harpchad at users.sourceforge.net
Mon Feb 9 17:21:38 CET 2009


Revision: 3025
          http://gar.svn.sourceforge.net/gar/?rev=3025&view=rev
Author:   harpchad
Date:     2009-02-09 16:21:38 +0000 (Mon, 09 Feb 2009)

Log Message:
-----------
Source /opt/csw/etc/vim/vimrc files if they exist

Added Paths:
-----------
    csw/mgar/pkg/vim/trunk/files/gvimrc
    csw/mgar/pkg/vim/trunk/files/vimrc
    csw/mgar/pkg/vim/trunk/files/vimrc.tiny

Added: csw/mgar/pkg/vim/trunk/files/gvimrc
===================================================================
--- csw/mgar/pkg/vim/trunk/files/gvimrc	                        (rev 0)
+++ csw/mgar/pkg/vim/trunk/files/gvimrc	2009-02-09 16:21:38 UTC (rev 3025)
@@ -0,0 +1,4 @@
+" Source a global configuration file if available
+if filereadable("/opt/csw/etc/vim/gvimrc")
+  source /opt/csw/etc/vim/gvimrc
+endif

Added: csw/mgar/pkg/vim/trunk/files/vimrc
===================================================================
--- csw/mgar/pkg/vim/trunk/files/vimrc	                        (rev 0)
+++ csw/mgar/pkg/vim/trunk/files/vimrc	2009-02-09 16:21:38 UTC (rev 3025)
@@ -0,0 +1,4 @@
+" Source a global configuration file if available
+if filereadable("/opt/csw/etc/vim/vimrc")
+  source /opt/csw/etc/vim/vimrc.local
+endif

Added: csw/mgar/pkg/vim/trunk/files/vimrc.tiny
===================================================================
--- csw/mgar/pkg/vim/trunk/files/vimrc.tiny	                        (rev 0)
+++ csw/mgar/pkg/vim/trunk/files/vimrc.tiny	2009-02-09 16:21:38 UTC (rev 3025)
@@ -0,0 +1,10 @@
+" Vim configuration file, in effect when invoked as "vi". The aim of this
+" configuration file is to provide a Vim environment as compatible with the
+" original vi as possible. Note that ~/.vimrc configuration files as other
+" configuration files in the runtimepath are still sourced.
+" When Vim is invoked differently ("vim", "view", "evim", ...) this file is
+" _not_ sourced; /opt/csw/etc/vim/vimrc and/or /opt/csw/etc/vim/gvimrc are.
+
+set compatible
+
+" vim: set ft=vim:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list