updated csound vim tools (at last!)

first of all i should apologize for the long time it took, but here there are
at last the updated csound vim files.

this is not a proper release (i should update the web page and documentation)
but rather a pre-release for the list.

i guess people using these files know where to put them, so i’ll skip the
detailed instructions. let me know if everything works (or not…)

copy to $VIM/vimfiles/syntax
http://www.eumus.edu.uy/docentes/jure/csound/vim/new/csound.vim
http://www.eumus.edu.uy/docentes/jure/csound/vim/new/csound_opcodes.vim

copy to $VIM/vimfiles/doc
http://www.eumus.edu.uy/docentes/jure/csound/vim/new/csound.txt

copy to $VIM/vimfiles/templates
http://www.eumus.edu.uy/docentes/jure/csound/vim/new/template.csd

copy to $VIM/vimfiles/macros
http://www.eumus.edu.uy/docentes/jure/csound/vim/new/csound_macros.vim

what’s new?

– general cleanup and minor improvements to the syntax file (csound.vim)
– list of opcodes updated to 5.12
– NEW FEATURE: folding of these elements:
  – csd sections (options, orchestra, score)
  – instruments and user-defined opcodes
  – multi-line commented blocks with /*  */
– the help file is reduced to the synopsis and syntax of each opcode (i don’t
 think anyone is reading the csound manual from within vim)
– minor improvements to the csd template and macros (these you should modify to
 suit your own taste anyway)

TODOs

– keep improving the syntax for better recognition of syntactic elements (i
 need feedback here, what elements aren’t colorized?)
– new features like autocompletion. this is not difficult to do, it seems, but
 i don’t know how it should behave, i’m not sure i would use it myself…
– more?

thank you to everyone using these files, and again, sorry for the delay.

best,

lj

Leave a Comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.