Configure hi2

Configure hi2 package and add helper fns.

One little customisation: the indentation guides drive me nuts when I'm scrolling, so only display the guides in insert state.

Resolves #356