Adding new stuff
This commit is contained in:
parent
bef81b1b4d
commit
713c32f3c0
3 changed files with 18 additions and 2 deletions
15
.vimrc
15
.vimrc
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue