Re: [code] [textadept] Key Modes

From: Mitchell <>
Date: Sat, 13 Apr 2013 00:48:16 -0400 (EDT)


On Fri, 12 Apr 2013, Pete Kazmier wrote:

> Thank you. This will make my emacs-like incremental search much easier to
> configure now. Before, I had to essentially override the entire find module
> to add two key bindings! With the new map, this is trivial.
> Quick question: what's the best way to bind '\n' in incremental search to
> simply end the search? I tried enter_mode, but it requires two newlines to
> exit. I tried also tried a finish_mode. In both cases, I have to press
> newline twice. Oddly enough, escape works on the first try. I'm using the
> curses version.

Did you recompile your textadept-curses? I was able to pass an empty
function to `finish_mode` bound to '\n' to close an incremental find.

I'll commit a change that allows *f* to be optional in `finish_mode` so
you don't have to pass an empty function.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sat 13 Apr 2013 - 00:48:16 EDT

This archive was generated by hypermail 2.2.0 : Sat 13 Apr 2013 - 06:45:02 EDT