Language Support

scala

mkdir -p ~/.vim/{ftdetect,indent,syntax} && \
for d in ftdetect indent syntax ; && \
do wget -O ~/.vim/$d/scala.vim https://raw.githubusercontent.com/derekwyatt/vim-scala/master/$d/scala.vim; && \
done

ref

Fold

zr //unfold one level
zR //unfold all levels
zm //fold one level
zM //fold all levels

Buffer

See also 'vim 只删除,不剪切'.