Adding new stuff

This commit is contained in:
Viktor Barzin 2017-10-25 00:00:01 +01:00
parent f35db9de5c
commit ca6890dced

24
.vimrc
View file

@ -6,18 +6,18 @@ 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',
\ }]
\ }
" 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>