/[ascend]/branches/relerrorlist/tools/vim/README.txt
ViewVC logotype

Contents of /branches/relerrorlist/tools/vim/README.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3207 - (show annotations) (download)
Wed Sep 13 23:59:49 2017 UTC (4 years, 9 months ago) by jpye
File MIME type: text/plain
File size: 1113 byte(s)
remove error-tree spurious output (should be OK for Win 7 now)
note on vim syntax for Ubuntu 17.04

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 UPDATE (Jul 2016): The correct location for syntax files in Ubuntu 16.04 is
18 /usr/share/vim/vim74/syntax/
19 Also, the file 'vimrc-mingw.txt' works fine for Linux, too:
20 cat vimrc-mingw.txt >> ~/.vimrc
21
22 UPDATE (Sep 2017): On Ubuntu 17.04, the file 'ascend.vim' goes into
23 /usr/share/vim/vim80/syntax/
24
25 --
26 John Pye
27 Feb 2012
28

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22