Add configuration for plugins and scala
This commit is contained in:
parent
ef76c7d462
commit
1290798f92
3 changed files with 22 additions and 0 deletions
13
after/ftplugin/scala.vim
Normal file
13
after/ftplugin/scala.vim
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue