When I got the latest TextMate update, I was happy to see that incremental search is put in. That makes me very happy, since Ctrl-s is imprinted in my Emacs-brain.
Getting into the incremental search works fine, but when I see something I want to edit, how do I get out of the search mode without using the mouse? Again, copying Emacs, I should just use a cursor key, but instead it seems that I have to use the mouse button.
Anyone have another method that I missed?
On 4 Apr 2007, at 21:43, Mike Hostetler wrote:
When I got the latest TextMate update, I was happy to see that incremental search is put in
Unless I'm mistaken incremental search has been in for a long time?
Anyway, you can use return or escape to get back into the editing field.
On Apr 4, 2007, at 4:47 PM, Ciarán Walsh wrote:
On 4 Apr 2007, at 21:43, Mike Hostetler wrote:
When I got the latest TextMate update, I was happy to see that incremental search is put in
Unless I'm mistaken incremental search has been in for a long time?
Yes indeed, it has been there since almost the very beginning. But for a while it was not much documented. Haven't looked for it lately, so maybe this has changed.
And of course, ctrl-shift-s will I think search backwards.
Anyway, you can use return or escape to get back into the editing field.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On 4/4/07, Ciarán Walsh ciawal@gmail.com wrote:
On 4 Apr 2007, at 21:43, Mike Hostetler wrote:
When I got the latest TextMate update, I was happy to see that
incremental search is put in Unless I'm mistaken incremental search has been in for a long time?
Maybe I didn't hit Ctrl-S before. Anyway, I know that it hasn't been there for forever. I don't update to the latest all the time.
Anyway, you can use return or escape to get back into the editing field.
Thanks. I'd still like a cursor key, though. :)
Mike Hostetler wrote:
Maybe I didn't hit Ctrl-S before. Anyway, I know that it hasn't been there for forever. I don't update to the latest all the time.
Well, at least it's been there for the 14-15 months that I've been using TextMate. Hopefully you update more often than that ;)
-Jacob
On Apr 4, 2007, at 10:10 PM, Allan Odgaard wrote:
On 5. Apr 2007, at 04:57, Mike Hostetler wrote:
Anyway, you can use return or escape to get back into the editing field.
Thanks. I'd still like a cursor key, though. :)
How? Like up/down? Generally up/down in text fields move to the start/end of the string.
I would personally like ctrl-a, mostly because that's how I've been doing it in emacs for the last 15 years.
Dave Carrigan wrote:
On Apr 4, 2007, at 10:10 PM, Allan Odgaard wrote:
On 5. Apr 2007, at 04:57, Mike Hostetler wrote:
Anyway, you can use return or escape to get back into the editing field.
Thanks. I'd still like a cursor key, though. :)
How? Like up/down? Generally up/down in text fields move to the start/end of the string.
I would personally like ctrl-a, mostly because that's how I've been doing it in emacs for the last 15 years.
You'll really have to clarify what you mean. We're talking about ways to get out of the incremental search field. In any Cocoa text view, ⌃a works just fine (including in TextMate).
-Jacob
On Apr 5, 2007, at 2:07 AM, Jacob Rus wrote:
Dave Carrigan wrote:
On Apr 4, 2007, at 10:10 PM, Allan Odgaard wrote:
On 5. Apr 2007, at 04:57, Mike Hostetler wrote:
Anyway, you can use return or escape to get back into the editing field.
Thanks. I'd still like a cursor key, though. :)
How? Like up/down? Generally up/down in text fields move to the start/end of the string.
I would personally like ctrl-a, mostly because that's how I've been doing it in emacs for the last 15 years.
You'll really have to clarify what you mean. We're talking about ways to get out of the incremental search field.
Yes I know - the subject of this thread was a big clue.
In any Cocoa text view, ⌃a works just fine (including in TextMate).
I am also aware that emacs keybindings work in Cocoa text fields.
The difference between TextMate and Emacs is that in TextMate, the cursor movement keys move the cursor around inside of the isearch field. In emacs, cursor movement keys end the isearch and then move the cursor in the document.
As it happens, my finger memory seems to have ctrl-a ingrained for ending isearch, although I suspect that at times I would also use (or try to use) ctrl-b, f, e, p, and n or maybe even an actual arrow key.
Speaking for myself, I rarely want to edit an isearch field. Again, that's probably due to 15 years of emacs habits where isearch fields couldn't be edited even if I had wanted to. But the upshot is that I really miss the ability to end the isearch by moving the cursor.
Hi,
As it happens, my finger memory seems to have ctrl-a ingrained for ending isearch, although I suspect that at times I would also use (or try to use) ctrl-b, f, e, p, and n or maybe even an actual arrow key.
Speaking for myself, I rarely want to edit an isearch field. Again, that's probably due to 15 years of emacs habits where isearch fields couldn't be edited even if I had wanted to. But the upshot is that I really miss the ability to end the isearch by moving the cursor.
As a non emacs-refugee I actually find the current behavior more intuitive -- as in, I'd expect to be able to edit the search term (and happy that ctrl-a/e hop around in there while I'm playing with it) while in incremental search mode.
Just my 2 cents, -steve
On Apr 5, 2007, at 9:41 AM, Steve Lianoglou wrote:
Hi,
As it happens, my finger memory seems to have ctrl-a ingrained for ending isearch, although I suspect that at times I would also use (or try to use) ctrl-b, f, e, p, and n or maybe even an actual arrow key.
Speaking for myself, I rarely want to edit an isearch field. Again, that's probably due to 15 years of emacs habits where isearch fields couldn't be edited even if I had wanted to. But the upshot is that I really miss the ability to end the isearch by moving the cursor.
As a non emacs-refugee I actually find the current behavior more intuitive -- as in, I'd expect to be able to edit the search term (and happy that ctrl-a/e hop around in there while I'm playing with it) while in incremental search mode.
I suppose it really depends on your main use case. If you use it to quickly navigate around, i.e. perhaps in a ruby file searching for "def" to move you among the various methods and then the arrow keys/ emacs bindings to move closer to where you want to be, then having to take the extra step is a bit of a nuisance. After all you don't have to do something like that after using cmd-G.
I personally don't use the incremental search much, but I would expect that I would rarely feel the need to edit the search field, at least in the sense of moving about. I might use the delete key, but that's about it.
Just my 2 cents, -steve
Haris Skiadas Department of Mathematics and Computer Science Hanover College
* Charilaos Skiadas skiadas@hanover.edu [2007-04-05 07:51]:
I personally don't use the incremental search much, but I would expect that I would rarely feel the need to edit the search field, at least in the sense of moving about. I might use the delete key, but that's about it.
Same here. When I do use incremental search, my brain slips into Emacs mode and expects C-r to reverse-search and C-g to cancel the search.
On Apr. 5, 2007, at Apr 5, 10:02 AM, Grant Hollingworth wrote:
- Charilaos Skiadas skiadas@hanover.edu [2007-04-05 07:51]:
I personally don't use the incremental search much, but I would expect that I would rarely feel the need to edit the search field, at least in the sense of moving about. I might use the delete key, but that's about it.
Same here. When I do use incremental search, my brain slips into Emacs mode and expects C-r to reverse-search and C-g to cancel the search.
I was a vimmer rather than an emacer, but I still find myself trying to arrow out of the incremental search, which I use very regularly. Delete is the only key I use to edit the search.
Dave Carrigan wrote:
On Apr 5, 2007, at 2:07 AM, Jacob Rus wrote:
In any Cocoa text view, ⌃A works just fine (including in TextMate).
...As it happens, my finger memory seems to have ctrl-a ingrained for ending isearch, although I suspect that at times I would also use (or try to use) ctrl-b, f, e, p, and n or maybe even an actual arrow key.
Ah, okay. ⌃A just seemed like an odd shortcut to use to exit an incremental search.
Speaking for myself, I rarely want to edit an isearch field. Again, that's probably due to 15 years of emacs habits where isearch fields couldn't be edited even if I had wanted to. But the upshot is that I really miss the ability to end the isearch by moving the cursor.
Yeah, fair enough. I think I probably on balance agree with you. It's nice to be able to edit an incremental search every once in a while, but much more commonly no editing is required, and when it is, ⌘F is not usually much bother.
-Jacob
The [escape] key works for me.
On Apr. 4, 2007, at Apr 4, 1:43 PM, Mike Hostetler wrote:
When I got the latest TextMate update, I was happy to see that incremental search is put in. That makes me very happy, since Ctrl-s is imprinted in my Emacs-brain.
Getting into the incremental search works fine, but when I see something I want to edit, how do I get out of the search mode without using the mouse? Again, copying Emacs, I should just use a cursor key, but instead it seems that I have to use the mouse button.
Anyone have another method that I missed?
On 4/4/07, Mike Hostetler hostetlerm@gmail.com wrote:
When I got the latest TextMate update, I was happy to see that incremental search is put in. That makes me very happy, since Ctrl-s is imprinted in my Emacs-brain.
Getting into the incremental search works fine, but when I see something I want to edit, how do I get out of the search mode without using the mouse? Again, copying Emacs, I should just use a cursor key, but instead it seems that I have to use the mouse button.
Anyone have another method that I missed?
Pressing ESCAPE works. Also: ENTER works and RETURN works.
-- Kai.