Vim Tips Wiki

Editing

Decompile Java .class files automatically

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 24: Line 24:
   
 
autocmd BufReadCmd *.class
 
autocmd BufReadCmd *.class
\ call <SID>ReadClass(expand("<afile>:p:h"), expand("<afile>:t:r"))
+
\ call &lt;SID&gt;ReadClass(expand("&lt;afile&gt;:p:h"), expand("&lt;afile&gt;:t:r"))
 
</pre>
 
</pre>
   
Line 43: Line 43:
 
----
 
----
 
For jad:
 
For jad:
au BufReadCmd *.class setl readonly nomodified | %!jad -p <afile>
+
au BufReadCmd *.class setl readonly nomodified | %!jad -p &lt;afile&gt;
   
 
----
 
----
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template