ce56db4cf4
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.
9 lines
257 B
VimL
9 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>
|