vimrc/java.vim
Thomas Gideon ce56db4cf4 Break up vimrc into files for specific purposes.
Add some logic to work with a local, non-version controlled rc file whose only
job is to configure where the local git repo is and source in those separate
files without killing the current working directory from which vim was launched,
in case there is a project specific .vimrc as well.
2015-03-20 13:16:03 -04:00

10 lines
257 B
VimL

let g:JavaImpDataDir = $HOME . "/.vim/JavaImp"
" F7 to call clean redundant Java imports and sort them
function JavaImpClean()
%!~/bin/clean_imports.sh %
:JavaImpSort
endfunction
:command JavaImpClean exec JavaImpClean()
:nnoremap <F7> :JavaImpClean<CR>