vim-jsim - JSim Bindings for VIM
Quick Intro
JSim [documentation] is a custom-built simulation utility created by MIT staff to help teach the course 6.004 - Computation Structures. JSim's syntax is somewhat similar to typical SPICE-like tools and can be a little painful to read without syntax coloring (alternatively, perhaps I'm too used to syntax coloring). Emacs bindings are available for it, but there's no love for VIM users. So, I created a set of two tools: a syntax file to add some color and a Ctags language definition file (plus a ftdetect support file) to be used in conjuction with the VIM TagList plugin. Hopefully, these tools will be useful.
Installation
The installation procedure is as follows
- Extract this archive into your .vim directory. It will add the files: README, ctags-jsim, .ftdetect/jsim.vim, .syntax/jsim.vim
- If you want Ctags support, perform the two operations listed in the file ctags-jsim. You also need taglist.vim, available here.
- You may now remove this file (README) and ctags-jsim
- Open a JSim file in VIM. Some syntax (like .plot, .connect, .subckt, X*, and the ports in definitions and instantiations) should be colored. If you installed Ctags support, TagList will open up and show you subcircuits, plots, and instantiations.
Future Work
In the future, I hope to add more syntax coloring support and improve the really looooooong regex.
Changelog
- 20100225 - initial release

