SmallBASIC in vim

Using vim

“Vim (short for vi improved) is a free and open-source text editor. Vim provides both a terminal screen user interface as well as a graphical user interface” (Wikipedia)

Example

Installation

  • Download the file smallbasic.vim from Github
  • Create the folder ~/.vim/syntax
  • Copy the file smallbasic.vim into that folder
  • Edit or create the file ~/.vim/filetype.vim
  • Add au BufNewFile,BufRead *.bas set filetype=smallbasic