install it in your VIM syntax directory. You can find the directory by doing: locate basic.vim if you system does not have locate, you can use find, it will just bit a bit slower: find / -name "basic.vim" The result may look something like this: /usr/share/vim/vim71/syntax/basic.vim Copy the sxbbasic.vim file into that directory: cp sxbbasic.vim /usr/share/vim/vim71/syntax/
Now we need to setup VIM to auto call it when editing a file with a .sxb extension First we need to find your filetype config file, do another locate: locate filetype.vim if you system does not have locate, you can use find, it will just bit a bit slower: find / -name "filetype.vim" the result may look something like this: /usr/share/vim/vim71/filetype.vim Once you find the file, open it in vi: /usr/share/vim/vim71/filetype.vim Find the section that looks like this:
" BASIC or Visual Basic au BufNewFile,BufRead *.bas call s:FTVB("basic")
" SX/Basic au BufNewFile,BufRead *.sxb call s:FTVB("sxbbasic")