Home Download Buy Blog Forum Support

Hitting "Esc" When Find

Hitting "Esc" When Find

Postby dant2k on Sat Oct 27, 2012 12:08 am

I'm losing my mind.

It seems to be impossible to deterministically know where the window will scroll to after searching.

I'll hit ctrl-f, type somethign in, and the window will move to the desired location. Great. Now I want to edit. What do I press?

Esc: Sometimes will return the window to the original location, sometimes will cancel the find and remain put.
Enter: Sometimes will go to the next instance, other times will cancel the find.

What do I do?!?

What I want is:
Enter: Move to the next instance, or keep the find open if there aren't others.
Esc: Clear the find, and KEEP THE WINDOW SCROLL ON THE CURRENT INSTANCE.

Thanks!
dant2k
 
Posts: 2
Joined: Sat Oct 27, 2012 12:05 am

Re: Hitting "Esc" When Find

Postby Eduan on Sat Oct 27, 2012 12:19 am

Have you tried doing a Ctrl+d? That should select the one instance you're looking for, and then you press Esc and you close that up. :)

Hope this helps.
Check out my blog and website: EduanTech.com (currently undergoing some facial and organs makeover...)
Also check out my profiles: GitHub - Greduan | BitBucket - Greduan
Eduan
 
Posts: 140
Joined: Sun Oct 14, 2012 4:05 pm

Re: Hitting "Esc" When Find

Postby rchl on Sat Oct 27, 2012 11:45 am

I'm pretty sure that when using ctrl+f to trigger search, Sublime won't scroll back after pressing ESC.
Using ctrl+i (inline search) will.

I've re-binded ctrl+i to act as ctrl+f to workaround that:

{ "keys": ["ctrl+i"], "command": "show_panel", "args": {"panel": "find"} }

See viewtopic.php?f=2&t=7560&p=32504#p32084 also.
rchl
 
Posts: 148
Joined: Fri Mar 04, 2011 11:02 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 32 guests