| Version 1 (modified by , 15 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/panc-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/panc-vim/syntax/pan.vim
and copy it to the {${HOME}/.vim/syntax} directory.
Take care, the two files have the same name!
Attachments (1)
-
vi_snapshot.png
(71.2 KB
) - added by 14 years ago.
Using PAN Auto-Completion with Vi
Download all attachments as: .zip