diff --git a/after/ftplugin/scala.vim b/after/ftplugin/scala.vim index 0a9ea8f..de9bb9a 100644 --- a/after/ftplugin/scala.vim +++ b/after/ftplugin/scala.vim @@ -13,6 +13,15 @@ function! s:show_documentation() endif endfunction -au BufWritePost *.scala Neomake! +" Toggle panel with Tree Views +nnoremap t :CocCommand metals.tvp +" Toggle Tree View 'metalsPackages' +nnoremap tp :CocCommand metals.tvp metalsPackages +" Toggle Tree View 'metalsCompile' +nnoremap tc :CocCommand metals.tvp metalsCompile +" Toggle Tree View 'metalsBuild' +nnoremap tb :CocCommand metals.tvp metalsBuild +" Reveal current current class (trait or object) in Tree View 'metalsPackages' +nnoremap tf :CocCommand metals.revealInTreeView metalsPackages set tw=120