verilog_emacsauto.vim : verilog filetype plugin to enable emacs verilog-mode autos
| script karma
Downloaded by 1593
Comments, bugs, improvements
script versions (upload new version)
|Two emacs verilog-mode functions are mapped.
\a expands all the verilog-mode autos (similar to C-c C-a in emacs).
\d collapses all the verilog-mode autos (similar to C-c C-d in emacs).
Previously if I wanted to update verilog-mode autos, I would
save and quit vim
fire up emacs
do the auto commands
save and close emacs
fire up vim.
And in doing so, I would lose all the edit history in vim.
With this I can just type \a and keep all the previous edit history for undos.
This is my first attempt at writing a vim plugin. Code should be simple enough for an average Verilog user to take and fix/enhance according to needs. Doing :he plugin, :he write-plugin, or :he plugin-details should reveal how simple this really is.
|Download this script and put it in your ~/.vim/ftplugin/ directory, creating the directories if necessary.
You need to get the verilog-mode.el file from the http://www.verilog.com/verilog-mode.html site.
You can follow the installation instruction there, but to use it with this script all you need to do is place the uncompressed file in your ~/elisp directory. You can also place the file in other locations as long as you change the path to the file in this script.
Click on the package to download.
ip used for rating: 126.96.36.199