wiki:Web/ViEditor

Version 3 (modified by /O=GRID-FR/C=FR/O=CNRS/OU=IPHC/CN=Jerome Pansanel, 13 years ago) (diff)

--

Vi Editor

Vim is a highly configurable text editor built to enable efficient text editing. It supports syntax highlighting and code completion for many languages. However, PAN language is not supported by default. The following sections describes how to use Vi for PAN template development.

Syntax Highlighting

The syntax highlighting is enabled by installing two files. It can be done with the following process:

mkdir -p ${HOME}/.vim/ftdetect
mkdir ${HOME}/.vim/syntax

Download the following file from the quattor website:

https://quattor.svn.sourceforge.net/svnroot/quattor/trunk/util/vim/ftdetect/pan.vim

and copy it to the ${HOME}/.vim/ftdetect directory.

Download the following file from the quattor website:

https://quattor.svn.sourceforge.net/svnroot/quattor/trunk/util/vim/syntax/pan.vim

and copy it to the ${HOME}/.vim/syntax directory.

Take care, the two files have the same name!

Attachments (1)

Download all attachments as: .zip