sponsor Vim development Vim logo Vim Book Ad

olga_key : Syntax file for SPT Group OLGA .key and .genkey files

 script karma  Rating 11/5, Downloaded by 686  Comments, bugs, improvements  Vim wiki

created by
Anders Schau Knatten
 
script type
syntax
 
description
This is an unofficial syntax file for SPT Group OLGA .key and .genkey files. (There is also partial support for the older .inp format)

OLGA is the market-leading simulator for engineering the flow of oil, water and gas in wells, pipelines and receiving facilities.

Also available on github: https://github.com/knatten/olga_key
 
install details
Linux: Put this file in ~/.vim/syntax
Windows 7: Put this file in C:\Users\<your_username>\vimfiles

In .vimrc, activate automatic setting of filetype for .key, .genkey, .inp and .rsw files:
au BufRead,BufNewFile *.key setfiletype olga_key
au BufRead,BufNewFile *.genkey setfiletype olga_key
au BufRead,BufNewFile *.inp setfiletype olga_key
au BufRead,BufNewFile *.rsw setfiletype olga_key

(If you don't have syntax highlighting turned on, do: syntax on)
 

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
olga_key.vim 0.1 2011-09-07 7.0 Anders Schau Knatten Initial upload
ip used for rating: 3.134.118.95

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