[Haskell-cafe] [ANN] Cumino 0.2 - Now supports pretty indentation through stylish-haskell

Ray i at maskray.tk
Thu Sep 13 04:42:26 CEST 2012


On Wed, Sep 12, 2012 at 01:03:49PM +0000, Alfredo Di Napoli wrote:
> Hi everyone,
>
> in case you have missed it, I've released a Vim plugin called Cumino:
>
> http://adinapoli.github.com/cumino/
>
> It does one simple thing: It allows communication between Vim and tmux, in
> particular to a ghci session. With Cumino you can fire-up Vim,
> load a ghci session and interact with it with only few keystrokes. The plugin
> also supports visual selection: you can select for example a function (even
> with all its signature!)
> and you can send it to ghci. The visual selection supports imports, custom
> types and typeclasses.
>
> It's a simple idea but so damn useful, imho.
>
> This release also adds the possibility to prettify the code using the excellent
> stylish-haskell: select a snippet, simply indent in the usual way ( = ) and
> voilà, now
> your code is indented!
>
> Feedback are highly appreciated, as well as contributions.
> There are still some issues with some terminals (for example urxvt does not
> work right now) but the plugin has been tested against gnome-terminal, xterm
> and mlterm.
>
> I'll post in reddit too for completeness!

Nice bridge between vim and tmux! Would you mind add supporting for `urxvtc'?
urxvtc's -e option is followed by a list of options instead of a string.

    urxvtc -e sh -c 'echo a'
    xterm -e echo a



More information about the Haskell-Cafe mailing list