Vi mode for Erlang

On 2006-01-27 01:59, Torbjorn Tornkvist wrote:
> Hi dear vi users !
>> I wonder if there exist some sort of vi mode for Erlang
> that indents the code in the same way as the Emacs mode
if you have the possiblity to send selected text from vi to a pipe, i
have a stdin/stdout erlang pretty printer (built upon the erl_pp module).
bengt