A note about vi

vi (or vim, which is a vi improved, by Bram Moolenar), is a very powerful editor. Of course:
a) if you know it, you don't need these lines,
b) if you use emacs, you don't want to read these lines,
c) if Notepad is all you need, then you don't need the whole document.

Anyway, if you plan to use vi for bf sources, I enclose in the package a bf.vim for the syntax coloring, starting for version 0.8.2.

Usage:

For Linux and Unix users:
------------------------
- put bf.vim in the ~/.vim/syntax directory
- add the following lines to the file filetype.vim in the ~/.vim directory
  (you may create it if doesn't exist):
  
augroup filetypedetect 
au BufNewFile,BufRead *.bf	setf bf
augroup END

That's done.

For Windows Users:
-----------------
- put bf.vim in the Vim/vimfiles/syntax directory of gvim, typically under C:\Program Files
- add the following lines to the file Vim/vimfiles/filetype.vim (you may create it if it doesn't exist):

" BogusForth (bf) 
augroup filetypedetect 
au BufNewFile,BufRead *.bf setf bf 
augroup END

That's done even for win32...


    Source: geocities.com/it/tonibin/bf/doc

               ( geocities.com/it/tonibin/bf)                   ( geocities.com/it/tonibin)                   ( geocities.com/it)