- Using pathogen or vundle from https://github.com/rdolgushin/rythm.vim
- Standard Vim way from http://www.vim.org/scripts/script.php?script_id=4438
By default, it recognizes Rythm templates stored in rythm/
folder and files
with double extension corresponging to *.rythm.html
pattern, but you can
extend this behaviour by adding custom autocmd
in your .vimrc
file.
For example:
au BufRead,BufNewFile */views/*.html :set ft=rythm
This plugin was written with built-in support of:
For testing of this plugin you can clone Rythm website
repository from https://github.com/greenlaw110/rythm-website or use
samples-and-tests
from Rythm repository.