aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/java/java.vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim/ftplugin/java/java.vim')
-rw-r--r--files/vim/ftplugin/java/java.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/files/vim/ftplugin/java/java.vim b/files/vim/ftplugin/java/java.vim
new file mode 100644
index 0000000..0c9fe43
--- /dev/null
+++ b/files/vim/ftplugin/java/java.vim
@@ -0,0 +1,13 @@
+" ~/.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 = []