sponsor Vim development Vim logo Vim Book Ad

cube.vim : Cube engine script syntax file

 script karma  Rating 25/7, Downloaded by 825  Comments, bugs, improvements  Vim wiki

created by
Denilson Sá
 
script type
syntax
 
description
This is a syntax file for Cube Engine cfg files. It applies to autoexec.cfg, package.cfg and any other file which uses Cube script.

More info about Cube Engine here: http://cube.sourceforge.net/

This is my first syntax file. Maybe it isn't the best, but it works very well.

Features:
- Support for keyboard keys names only after "bind" command. (MOUSE1, MOUSE2,... is also supported)
- Support for entities names only after "newent" and "clearents" commands.
- Support for all cube commands of version 2004_05_22, except "keymap" (which you should not use, according to docs).
- Recognizes special aliases "level_trigger_xx" and "nextmap_xx".

I don't know if it will work on Vim 5.
 
install details
Put the file on ~/.vim/syntax/ directory. Then, when opening some Cube cfg file, type:
:set syntax=cube

You can also put this line at top or bottom of your Cube cfg file:
// vim: set syntax=cube
This will make vim automatically apply the Cube syntax.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cube.vim 1.1 2005-04-10 6.0 Denilson Sá Added a few missing keywords. Just that.
cube.vim 1.0 2004-07-23 6.0 Denilson Sá Initial upload
ip used for rating: 44.213.75.78

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github