diff options
Diffstat (limited to 'files/vim/ftplugin/java/java.vim')
-rw-r--r-- | files/vim/ftplugin/java/java.vim | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/files/vim/ftplugin/java/java.vim b/files/vim/ftplugin/java/java.vim index 0c9fe43..2595b32 100644 --- a/files/vim/ftplugin/java/java.vim +++ b/files/vim/ftplugin/java/java.vim @@ -1,13 +1,14 @@ " ~/.vim/ftplugin/java.vim " Java-specific vim configuration -nnoremap <leader>gt :YcmCompleter GoTo<CR> -nnoremap <leader>gr :YcmCompleter GoToReferences<CR> -nnoremap <leader>fi :YcmCompleter FixIt<CR> -nnoremap <leader>rr :YcmCompleter RefactorRename<Space> -nnoremap <leader>e :YcmDiags<CR> -nnoremap <leader>R :!./run.sh<CR> - 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> + |