Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto:vimmacros_for_trace2uml [2015/05/13 16:33]
thomas created
howto:vimmacros_for_trace2uml [2015/05/13 16:34] (current)
thomas
Line 1: Line 1:
 +====== VIM Macros for Trace2UML ======
  
 +Include the following mappings in your .vimrc to have shortcuts for the Trace2UML-Macros. Just place the cursor on the function definition line and press F3 if the function is a constructor,​ F4 if the function is a destructor or F5 for any other function.\\
 +
 +<​code>​
 +''​map <F5> k0/::<​CR>​b"​yyw"​wy0nll"​zyw/​(<​CR>​v%"​xyjoNOTIFY_FUNCTION_CALL(this,​ 5, "<​ESC>"​ypA",​ "<​ESC>"​zpA",​ "<​ESC>"​xpA",​ "<​ESC>"​wpA"​)<​ESC>​0/"<​CR>​4nlxnhx<​ESC>:​nohls<​CR>​0''​ \\
 +''​map <F4> k0/::<​CR>​b"​yyw"​wy0nll"​zyw/​(<​CR>​v%"​xyjoNOTIFY_DESTRUCTOR(5,​ "<​ESC>"​ypA"​)<​ESC>:​nohls<​CR>​0''​\\
 +''​map <F3> k0/::<​CR>​b"​yyw"​wy0nll"​zyw/​(<​CR>​v%"​xyjoNOTIFY_CONSTRUCTOR(5,​ "<​ESC>"​ypA",​ "<​ESC>"​xpA"​)<​ESC>​0/"<​CR>​2nlxnhx<​ESC>:​nohls<​CR>​0''​\\
 +</​code>​
howto/vimmacros_for_trace2uml.txt ยท Last modified: 2015/05/13 16:34 by thomas
GNU Free Documentation License 1.3
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5