sponsor Vim development Vim logo Vim Book Ad

tf2.vim : TF2 script syntax highlighting

 script karma  Rating 8/2, Downloaded by 617  Comments, bugs, improvements  Vim wiki

created by
Sumant Manne
 
script type
syntax
 
description
Extremely basic syntax highlighting of Team Fortress 2 scripts (.cfg). Pretty much a find/replace of the original quake.vim with the custom color support removed.
 
install details
1) Place tf2.vim into ~/.vim/syntax in Linux or ~/vimfiles/syntax in Windows (make the folders if they don't already exist).
2) Add the following to ~/.vim/filetype.vim or ~/vimfiles/filetype.vim (make an empty filetype.vim if it doesn't already exist) to automatically detect TF2 scripts:

augroup filetypedetect
    au! BufRead,BufNewFile */tf/cfg/*.cfg setfiletype tf2
augroup END
 

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
tf2.vim .2 2010-06-02 6.0 Sumant Manne a few more commands added
I'm going to have to write a script to properly make this script eventually =S
tf2.vim .1 2010-05-06 6.0 Sumant Manne Initial upload
ip used for rating: 18.216.94.152

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