v1.2.0 Author: akhaku
A simple vim plugin to show unused imports in a java file. Built for purely selfish reasons, open-sourced to help others.
This is my first dabble im Vim scripting, so feedback is welcome.
This plugin works with pathogen. Simply clone this repository to a subfolder within bundle/. Alternatively, copy unused-imports.vim to plugin/
In normal mode:
:UnusedImports " highlight all unused imports
:UnusedImportsReset " clear the highlights
:UnusedImportsRemove " remove all unused imports
highlight unusedimport ctermbg=DarkRed ctermfg=White guibg=#8b0000 guifg=#ffffff
This software is provided as-is, without any warranty whatsoever.