Author: admin

Setup scala in linux

####Setup scala in linux and Hello World it is so simple! 1. download scala from official website 2. unzip it: tar xvzf scala-2.10.3.tgz 3. create SCALA_HOME export SCALA_HOME=~/projects/scala/scala-2.10.3/ add it to path export PATH=$PATH:$SCALA_HOME/bin 4. create hello world vi HelloWorld.scala object...

split windows in vim

– open file vertically vim -O file1 file2 – horizontally vim -o file1 file2 – open one file in vim, then split for the second file horizontally :new file2 or :sp file2 – vertifically :vsp file2 – horizontally ctrl + wv...