> While browsing in verilog or vhdl code, there is a need to get which
> "module" or "entity" (these are the required keywords) the line is.
>
> My solution is maybe writing a function and map a key to call this function.
>
> Any example code for the function would be very well...
> The case is
> --------------------------------------
> module aaa
> ...
> <the cursor here somewhere>
> ...
> endmodule
> --------------------------------------
> Just press a key (or key combination) to get (or print) aaa
map command in vim to match module/instance names in verilog
(from Jan 2009)
--
Andy
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment