aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/ftplugin/java
diff options
context:
space:
mode:
Diffstat (limited to 'stow/vim/.vim/ftplugin/java')
-rw-r--r--stow/vim/.vim/ftplugin/java/java.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/stow/vim/.vim/ftplugin/java/java.vim b/stow/vim/.vim/ftplugin/java/java.vim
new file mode 100644
index 0000000..2595b32
--- /dev/null
+++ b/stow/vim/.vim/ftplugin/java/java.vim
@@ -0,0 +1,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>
+