Copy to *
buffer, with for example gg"*yG
. You will be able to paste with the mouse middle button) From http://stackoverflow.com/questions/1620018/vi-editor-copy-all-the-lines-to-clipboard
Copy ftdetect/scala.vim
indent/scala.vim
and syntax/scala.vim
from https://github.com/scala/scala-dist/tree/master/tool-support/src/vim to ~/.vim
Add syntax on
to ~/.vimrc