aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/java/java.vim
blob: 2595b3268924e21934689e0a1eb8a739c47061f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
" ~/.vim/ftplugin/java.vim
" Java-specific vim configuration

call matchadd('ColorColumn', '\%131v', 100)

let g:syntastic_java_checkers = []

nnoremap <buffer> <leader>gt :YcmCompleter GoTo<CR>
nnoremap <buffer> <leader>gr :YcmCompleter GoToReferences<CR>
nnoremap <buffer> <leader>fi :YcmCompleter FixIt<CR>
nnoremap <buffer> <leader>rr :YcmCompleter RefactorRename<Space>
nnoremap <buffer> <leader>e :YcmDiags<CR>
nnoremap <buffer> <leader>R :!./run.sh<CR>