GVim highlighting -------------------------------------------------------- UPDATED===15.01.2010.11.05.06 TITLE===GVim highlighting TYPE===subpage --------------------------------------------------------

The following is a syntax highlighting script for the GVIM editor.

You first need to download the file fluka.vim.

Copy the file to the .vim/syntax directory, if you don't have create it.

  1. Create a .vim/syntax directory
    	mkdir ~/.vim/syntax
    
  2. Move the file into the directory
    	mv fluka.vim ~/.vim/syntax
    
  3. To automatically detect the filetype add the following lines to the ~/.gvimrc file
    " Fluka
    au! filetypedetect BufNewFile,BufRead *.fluka,*.inp	setf fluka
    

To manually activate the highlighting execute the command from withing the editor:

:setf fluka

Vasilis Vlachoudis