Thanks!<br><br><div class="gmail_quote">On Mon, Mar 14, 2011 at 5:11 AM, Vegard Øye <span dir="ltr"><<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 2011-03-13 07:12 +0100, Justin Zhu wrote:<br>
<br>
> I like the modal editing of the minibuffer, just that it would be<br>
> nice for pressing ESC multiple times to exit the minibuffer.<br>
<br>
</div>Duly noted. :)<br>
<br>
I have added the behavior in commit 392fc3c. Do "git pull" to update.<br>
<div class="im"><br>
>>> Another issue is vimpulse messing with comment indenting. I have<br>
>>> RET bound to comment-indent-new-line so that in a comment,<br>
>>> pressing enter inserts a comment prefix.<br>
>><br>
</div><div class="im">>> What major mode are you using?<br>
><br>
</div><div class="im">> I'm using scala-mode with latest git version.<br>
<br>
</div>Okay, I can reproduce the bug now. As far as I can tell, it's<br>
independent of Vimpulse: `comment-indent-new-line' simply doesn't work<br>
well in scala-mode. I suggest using scala-mode's own `scala-newline'<br>
command instead, which you can bind with<br>
<br>
(vimpulse-define-key 'scala-mode 'insert-state (kbd "RET") 'scala-newline)<br>
<br>
That will override `viper-autoindent's binding of the RET key.<br>
<br>
--<br>
<font color="#888888">Vegard<br>
</font></blockquote></div><br>