Ah, okay. I was just confused by the fact that it uses tmux, and thought that I was misusing it.<br><br>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.<br>
<br>Anyway, thanks for clarifying.<br><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 5:24 PM, Alfredo Di Napoli <span dir="ltr">&lt;<a href="mailto:alfredo.dinapoli@gmail.com" target="_blank">alfredo.dinapoli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>Hi Roman,</div><div><br></div><div>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.</div>
<div>So the answer to your answer is: You can&#39;t, Cumino will always start in another terminal window. Is the same behaviour of Slime, though.<br><br>Sent from my iPad</div><div><div class="h5"><div><br>On 12/set/2012, at 17:06, Roman Cheplyaka &lt;<a href="mailto:roma@ro-che.info" target="_blank">roma@ro-che.info</a>&gt; wrote:<br>
<br></div><div></div><blockquote type="cite"><div>So, suppose that I&#39;m in a terminal vim session, and I want to start ghci (in the current terminal). What do I do?<br><br>&lt;localleader&gt;cc starts a new terminal, which is not what I want.<br>
<br><div class="gmail_quote">
On Wed, Sep 12, 2012 at 3:03 PM, Alfredo Di Napoli <span dir="ltr">&lt;<a href="mailto:alfredo.dinapoli@gmail.com" target="_blank">alfredo.dinapoli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi everyone,<br><br>in case you have missed it, I&#39;ve released a Vim plugin called Cumino:<br><br><a href="http://adinapoli.github.com/cumino/" target="_blank">http://adinapoli.github.com/cumino/</a><br><br>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,<br>

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!)<br>and you can send it to ghci. The visual selection supports imports, custom types and typeclasses.<br>

<br>It&#39;s a simple idea but so damn useful, imho. <br><br>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<br>

your code is indented!<br><br>Feedback are highly appreciated, as well as contributions.<br>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.<br>