[mapserver-commits] r8033 - trunk/docs/howto
svn at osgeo.org
svn at osgeo.org
Fri Nov 21 11:40:53 EST 2008
Author: hobu
Date: 2008-11-21 11:40:53 -0500 (Fri, 21 Nov 2008)
New Revision: 8033
Added:
trunk/docs/howto/vim.txt
Removed:
trunk/docs/howto/vim-syntax-howto.txt
trunk/docs/howto/vimfolding.txt
Log:
group the VIM stuff together into its own howto
Deleted: trunk/docs/howto/vim-syntax-howto.txt
===================================================================
--- trunk/docs/howto/vim-syntax-howto.txt 2008-11-21 16:35:31 UTC (rev 8032)
+++ trunk/docs/howto/vim-syntax-howto.txt 2008-11-21 16:40:53 UTC (rev 8033)
@@ -1,56 +0,0 @@
-*****************************************************************************
- VIM Syntax
-*****************************************************************************
-
-:Author: Andreas Hirner
-:Contact: andreas.hirner at dlr.de
-:Revision: $Revision$
-:Date: $Date$
-:Last Updated: 2005/12/21
-
-.. sectnum::
-
-.. contents:: Table of Contents
- :depth: 2
- :backlinks: top
-
-General remarks
-===============
-
-vi (vim) resides in: /usr/share/vim/current (vim_root).
-
-Syntax definitions are in vim_root/syntax/\*.vim files. Linking file types to extensions is done in vim_root/ftdetect/\*.vim. (The the star denotes
-the extension and would be replaced with map to define highlighting of Mapserver config files).
-
-
-
-Installation
-============
-
-The installation process requires two steps:
-
-1. Copy the `map.vim`_ syntax file to the syntax directory
-
- Copy map.vim to the vim syntax directory (on Suse: /usr/share/vim/current/syntax)
-
-2. Register the syntax file in the custom filetype directory
-
- If absent, create a new directory called ftdetect in vim_root (on Suse Linux: /usr/share/vim/current).
- Create a new file called map.vim in ftdetect according to the example shown below:
-
- ::
-
- " Mapserver config file
- au BufNewFile,BufRead *.map setf map
-
-Now restart vim and open a map file ....
-
-Closing Remarks
-===============
-
-The keywords are based on the TextPad Symbol Map_40.syn file contributed by Christopher
-Thorne, which can also be found on the Mapserver utility page. I hope the file is
-somehow useful to anybody out there. If there are any questions or suggestions,
-please feel free to contact me.
-
-.. _`map.vim`: http://old-mapserver.gis.umn.edu/user_utilities/map.vim.txt
\ No newline at end of file
Copied: trunk/docs/howto/vim.txt (from rev 8032, trunk/docs/howto/vim-syntax-howto.txt)
===================================================================
--- trunk/docs/howto/vim.txt (rev 0)
+++ trunk/docs/howto/vim.txt 2008-11-21 16:40:53 UTC (rev 8033)
@@ -0,0 +1,90 @@
+*****************************************************************************
+ VIM Syntax
+*****************************************************************************
+
+:Author: Andreas Hirner
+:Contact: andreas.hirner at dlr.de
+:Author: Schuyler Erle
+:Contact: schuyler at tridity.org
+:Revision: $Revision$
+:Date: $Date$
+:Last Updated: 2006/5/5
+
+.. sectnum::
+
+.. contents:: Table of Contents
+ :depth: 2
+ :backlinks: top
+
+General remarks
+===============
+
+vi (vim) resides in: /usr/share/vim/current (vim_root).
+
+Syntax definitions are in vim_root/syntax/\*.vim files. Linking file types to extensions is done in vim_root/ftdetect/\*.vim. (The the star denotes
+the extension and would be replaced with map to define highlighting of Mapserver config files).
+
+
+
+Installation
+============
+
+The installation process requires two steps:
+
+1. Copy the `map.vim`_ syntax file to the syntax directory
+
+ Copy map.vim to the vim syntax directory (on Suse: /usr/share/vim/current/syntax)
+
+2. Register the syntax file in the custom filetype directory
+
+ If absent, create a new directory called ftdetect in vim_root (on Suse Linux: /usr/share/vim/current).
+ Create a new file called map.vim in ftdetect according to the example shown below:
+
+ ::
+
+ " Mapserver config file
+ au BufNewFile,BufRead *.map setf map
+
+Now restart vim and open a map file ....
+
+Folding
+============
+
+Introduction
+------------
+
+`Vim code folding <http://www.vim.org/htmldoc/usr_28.html>`__ can be an extremely handy way to simplify the task of editing complex MapServer mapfiles inside the Vim editor. A Vim command file called `*map_fold.vim*`_ is attached to this document, which defines a folding mode for mapfiles. This file also lives at http://iconocla.st/code/dot/map_fold.vim.
+
+Installation
+------------
+
+Global installation of new Vim filetypes is described in the `Vim syntax howto <http://mapserver.gis.umn.edu/docs/howto/vim-syntax-howto>`__. In Vim 6, you can copy *map_fold.vim* as-is to your *$VIMROOT/ftplugin/* directory, and it should more or less work.
+
+To use locally, create a *~/.vim/ftplugin* directory, copy *map_fold.vim* to it, and then add the following to your *~/.vimrc*:
+
+::
+
+ autocmd BufRead *.map set filetype=map
+
+`map_fold.vim`_ is totally compatible with the `map.vim`_ syntax highlighter, and their combined use is even recommended.
+
+Use
+---
+
+The Vim `folding tutorial <http://www.vim.org/htmldoc/usr_28.html>`__ (at least the first two or three sections) is highly recommended. The Vim `folding reference <http://www.vim.org/htmldoc/fold.html>`__ may also be helpful.
+
+Conclusion
+----------
+
+Hope this helps! Please let me know if you find it useful, or if you find ways to improve it. Thanks!
+
+Closing Remarks
+===============
+
+The keywords are based on the TextPad Symbol Map_40.syn file contributed by Christopher
+Thorne, which can also be found on the Mapserver utility page. I hope the file is
+somehow useful to anybody out there. If there are any questions or suggestions,
+please feel free to contact me.
+
+.. _`map.vim`: map.vim
+.. _`map_fold.vim`: map_fold.vim
\ No newline at end of file
Deleted: trunk/docs/howto/vimfolding.txt
===================================================================
--- trunk/docs/howto/vimfolding.txt 2008-11-21 16:35:31 UTC (rev 8032)
+++ trunk/docs/howto/vimfolding.txt 2008-11-21 16:40:53 UTC (rev 8033)
@@ -1,28 +0,0 @@
-Introduction
-------------
-
-`Vim code folding <http://www.vim.org/htmldoc/usr_28.html>`__ can be an extremely handy way to simplify the task of editing complex MapServer mapfiles inside the Vim editor. A Vim command file called **map_fold.vim** is attached to this document, which defines a folding mode for mapfiles. This file also lives at http://iconocla.st/code/dot/map_fold.vim.
-
-Installation
-------------
-
-Global installation of new Vim filetypes is described in the `Vim syntax howto <http://mapserver.gis.umn.edu/docs/howto/vim-syntax-howto>`__. In Vim 6, you can copy *map_fold.vim* as-is to your *$VIMROOT/ftplugin/* directory, and it should more or less work.
-
-To use locally, create a *~/.vim/ftplugin* directory, copy *map_fold.vim* to it, and then add the following to your *~/.vimrc*:
-
-::
-
- autocmd BufRead *.map set filetype=map
-
-*map_fold.vim* is totally compatible with the *map.vim* `syntax highlighter <http://mapserver.gis.umn.edu/docs/howto/vim-syntax-howto>`__, and their combined use is even recommended.
-
-Use
----
-
-The Vim `folding tutorial <http://www.vim.org/htmldoc/usr_28.html>`__ (at least the first two or three sections) is highly recommended. The Vim `folding reference <http://www.vim.org/htmldoc/fold.html>`__ may also be helpful.
-
-Conclusion
-----------
-
-Hope this helps! Please let me know if you find it useful, or if you find ways to improve it. Thanks!
-
\ No newline at end of file
More information about the mapserver-commits
mailing list