Skip to content
compile haml to html instantly in vim
JavaScript Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload/haml
ftplugin
README.md

README.md

haml-instant

compile haml to html instantly in vim Haml-instant screenshot

Requirements

You need a tool to convert haml to html file. The official one is haml gem. And a js version developed by Tim Caswell.Haml-instant supports both of them.

  1. To install the official one, please execute gem install haml in your console
  2. To install the js version, please checkout and install them to your vim

If both of them is installed. The js version will takes precedence in Windows system, ruby version in *nix and mac.

Commands & Keymaps

  • Command OpenPreview - open the preview window
  • Command ClosePreview - close the preview window
  • Keymap <Leader>op - open the preview window
  • Keymap <Leader>cp - close the preview window
  • Keymap <Leader>tp - toggle the preview window
You can’t perform that action at this time.