[Scala Diary #2] Vim settings

If you want to turn on the colour syntax on vi for Scala, enter this on your bash.

mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do curl -o ~/.vim/$d/scala.vim<a href="https://raw.githubusercontent.com/scala/scala-dist/master/tool-support/src/vim/">https://raw.githubusercontent.com/scala/scala-dist/master/tool-support/src/vim/</a>$d/scala.vim; done

Then go to your home directory


vi .vimrc

syntax on

set background=dark

Screen Shot 2014-09-12 at 5.07.46 PM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: