1 |
|
2 |
Syntax highlighting for ASCEND files in VIM |
3 |
------------------------------------------- |
4 |
|
5 |
I learnt VIM on some crumby old green-on-black terminals at University of Melbourne. |
6 |
They were slow and only barely usable. But somehow, the habit of using VI (and now |
7 |
VIM) stuck, and I still like to use it for quick edits. |
8 |
|
9 |
If you also like VIM, place the ascend.vim syntax file in the correct place on your |
10 |
system (probably /usr/share/vim/syntax or something like that). You also |
11 |
need to register the syntax file with a change to your ~/.vimrc file. |
12 |
|
13 |
If you use MinGW/MSYS then you can use the example .vimrc file (vimrc-mingw.txt) |
14 |
which will enable colour syntax highlighting. It seems to work for both the 'mintty' |
15 |
terminal as well as for the 'cygwin' (regular MSYS command-line) terminal. Enjoy! |
16 |
|
17 |
-- |
18 |
John Pye |
19 |
Feb 2012 |
20 |
|