Add configuration for plugins and scala

This commit is contained in:
crater2150 2018-07-26 09:48:07 +02:00
parent ef76c7d462
commit 1290798f92
3 changed files with 22 additions and 0 deletions

13
after/ftplugin/scala.vim Normal file
View file

@ -0,0 +1,13 @@
"autocmd BufWritePost *.scala silent :EnTypeCheck
nnoremap <M-=> :EnType<CR>
noremap <F3> :EnDeclaration<CR>
noremap gd :EnDeclaration<CR>
noremap gD :EnDeclarationSplit v<CR>
noremap <Leader>o :EnOrganizeImports<CR>
noremap <Leader>i :EnSuggestImport<CR>
noremap <Leader>rr :EnRename<CR>
noremap <Leader>ri :EnInline<CR>
noremap K :EnDocBrowse<CR>
noremap <Leader>f :Autoformat<CR>