Adding new stuff

This commit is contained in:
Viktor Barzin 2017-10-03 00:00:02 +01:00
parent bef81b1b4d
commit 713c32f3c0
3 changed files with 18 additions and 2 deletions

15
.vimrc
View file

@ -4,6 +4,20 @@
" Load rename plugin
so ~/.vim/Rename.vim
" let g:EclimCompletionMethod = 'omnifunc'
" Java Autocomplete
let g:acp_behaviorJavaEclimLength=3
function MeetsForJavaEclim(context)
return g:acp_behaviorJavaEclimLength >= 0 &&
\ a:context =~ '\k\.\k\{' . g:acp_behaviorJavaEclimLength . ',}$'
endfunction
let g:acp_behavior = {
\ 'java': [{
\ 'command': "\<c-x>\<c-u>",
\ 'completefunc' : 'eclim#java#complete#CodeComplete',
\ 'meets' : 'MeetsForJavaEclim',
\ }]
\ }
" Rezise splits
"nnoremap <C-Left> :vertical resize -20<CR>
@ -448,4 +462,3 @@ set matchtime=3
nnoremap <silent> <F4> :syntax sync fromstart<CR>
autocmd FileType markdown syntax sync fromstart