[Haskell-cafe] [ANN] Cumino 0.2 - Now supports pretty indentation through stylish-haskell
roma at ro-che.info
Wed Sep 12 23:43:23 CEST 2012
Ah, okay. I was just confused by the fact that it uses tmux, and thought
that I was misusing it.
Yes, I also usually keep ghci in a separate window (and I am an xmonad
user, too). I just thought that this offers a different experience and
wanted to try it out.
Anyway, thanks for clarifying.
On Wed, Sep 12, 2012 at 5:24 PM, Alfredo Di Napoli <
alfredo.dinapoli at gmail.com> wrote:
> Hi Roman,
> Cumino was thought to operate in another terminal. Personally, but this is
> only a personal taste, having to switch between terminal tabs or tmux panes
> is not the fastest workflow. Being an Xmonad user, i can easily swap
> between terminals (read ghci and vim) simply with mod + j or mod + k.
> So the answer to your answer is: You can't, Cumino will always start in
> another terminal window. Is the same behaviour of Slime, though.
> Sent from my iPad
> On 12/set/2012, at 17:06, Roman Cheplyaka <roma at ro-che.info> wrote:
> So, suppose that I'm in a terminal vim session, and I want to start ghci
> (in the current terminal). What do I do?
> <localleader>cc starts a new terminal, which is not what I want.
> On Wed, Sep 12, 2012 at 3:03 PM, Alfredo Di Napoli <
> alfredo.dinapoli at gmail.com> wrote:
>> Hi everyone,
>> in case you have missed it, I've released a Vim plugin called 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!
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe