Home Download Buy Blog Forum Support

Up/Down arrow keys in find box?

Up/Down arrow keys in find box?

Postby abhibeckert on Mon May 28, 2012 1:44 am

I've been using sublime for a week, and just spent a couple of hours doing serious find/replace (refactoring a 15,000 line XML file).

In the find box, the up/down arrow moves through my find history. A complete pain in the ass with multi-line search queries. I had to reach for the mouse to move the cursor then back to the keyboard every couple of seconds, for *two hours*.

How can I disable this "feature"?
abhibeckert
 
Posts: 2
Joined: Fri May 25, 2012 6:46 am

Re: Up/Down arrow keys in find box?

Postby Kirkman on Fri Jul 20, 2012 2:29 am

I second this.

I do tons of multiline search queries, and it is always a huge pain in the rear when I'm in the middle of editing the query, hit the up arrow to edit something in the previous line in the query, and POOF! my query is gone, replaced by whatever I last searched for.

How can I change the keybindings for this? Maybe I can use [ctrl] plus the arrows for moving through my search query history.
Kirkman
 
Posts: 3
Joined: Fri Jul 20, 2012 2:27 am

Re: Up/Down arrow keys in find box?

Postby natebeaty on Fri Jul 20, 2012 4:08 pm

Add me to the list of people often accidentally losing my (sometimes arduously crafted regex) search by accidentally hitting the up arrow.

Does anyone use the browse-past-searches-by-arrow-keys feature often enough to warrant this shortcut? Perhaps it could be a dropdown that shows when you hit arrow down (on the last line if it's multiline).
natebeaty
 
Posts: 120
Joined: Wed Apr 06, 2011 8:28 pm
Location: Chicago, IL

Re: Up/Down arrow keys in find box?

Postby pupppet on Sat Feb 09, 2013 8:44 am

Any luck with disabling this behavior?
pupppet
 
Posts: 2
Joined: Sat Feb 09, 2013 8:37 am

Re: Up/Down arrow keys in find box?

Postby lawlist on Sat Mar 02, 2013 8:30 pm

Me too.
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm

Re: Up/Down arrow keys in find box?

Postby valrus on Wed Mar 20, 2013 10:04 pm

What I expect it to do, and what I think it should do, is just include the expression that's currently underway as the most recent entry in the past-searches list rather than wiping it out with a single keystroke. So that I can do something like:
1. *starts typing regex*
2. Wait, didn't I just search for this yesterday?
3. *up arrow for a while*
4. Oh, no, that was something else.
5. *down arrow back to the bottom*
6. *continues on regex started in step 1*

That said, even having the up and down arrows disabled entirely would be miles better than what happens now.
valrus
 
Posts: 8
Joined: Wed Jan 30, 2013 5:15 pm

Re: Up/Down arrow keys in find box?

Postby vanRijn on Thu Mar 21, 2013 2:04 am

YESSSS! This drives me crazy!!!
vanRijn
 
Posts: 9
Joined: Tue Feb 05, 2013 6:55 pm

Re: Up/Down arrow keys in find box?

Postby svenax on Thu Mar 21, 2013 2:49 pm

Doesn't the text come back when you hit down arrow? It does for me.
svenax
 
Posts: 145
Joined: Tue Dec 20, 2011 12:47 pm

Re: Up/Down arrow keys in find box?

Postby lawlist on Thu Mar 21, 2013 3:50 pm

The words do not come back unless there has been a prior search that was exactly the same.
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm

Re: Up/Down arrow keys in find box?

Postby svenax on Fri Mar 22, 2013 9:04 am

lawlist wrote:The words do not come back unless there has been a prior search that was exactly the same.

Just double-checked this. When you change the entry at the very bottom of the history, then SublimeText remembers any changes if you do arrow up and arrow down. However, if you edit an entry already in the list, then changes are lost. Seem a bit inconsistent.

This is in version 2.0.1 (build 2217)
svenax
 
Posts: 145
Joined: Tue Dec 20, 2011 12:47 pm

Next

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 20 guests