views:

206

answers:

1

Is there any way to get MacVim to scroll more smoothly TextMate style?

While I'm here, is there a syntax file I can edit to add syntax highlighting to files? I have Velocity .vhtml files which are largely regular HTML with a bit of VTL thrown in. If I could just add .vhtml as an extension to the HTML syntax highlighter that would already make things 10x better.

+1  A: 

The latter question is pretty easy. Just put this line in ~/.vim/ftdetect/vhtml.vim (or you can append it to your ~/.vimrc):

au BufRead,BufNewFile *.vhtml set filetype=html
rampion