This small plugin calls the javap
tool on .class
files opened in Vim, which allows you to read the decompiled bytecode of a JVM class file
instead of a useless binary representation of it. It works for files on the disk as well as inside zip/jar archives.
You should have Java of any version installed, and javap
must be accessible via your PATH
.
$ git clone https://github.com/udalov/javap-vim ~/.vim/bundle/
Add Plugin 'udalov/javap-vim'
to your ~/.vimrc
and run PluginInstall
.
mkdir -p ~/.vim/plugin
cp plugin/javap.vim ~/.vim/plugin/javap.vim
- Restart Vim