Home Download Buy Blog Forum Support

how to hide the find box

how to hide the find box

Postby cmcenearney on Tue Apr 03, 2012 1:33 am

Hi,

I just started using sublime and it is such a joy.

Is there a way to hide the find box once its out? Particularly in distraction-free mode it would be nice to do some finding and then stow it away again.

Many thanks,
Colin
cmcenearney
 
Posts: 3
Joined: Tue Apr 03, 2012 1:12 am

Re: how to hide the find box

Postby C0D312 on Tue Apr 03, 2012 2:40 am

esc
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: how to hide the find box

Postby cmcenearney on Tue Apr 03, 2012 2:53 am

Thanks!
cmcenearney
 
Posts: 3
Joined: Tue Apr 03, 2012 1:12 am

Re: how to hide the find box

Postby andyjeffries on Tue Apr 03, 2012 9:59 am

I often have issues with the Find box. For example, if you do the following:

Find
Type something
Hit Command+D a few times to select the multiples
How do you get rid of the Find box, hit Esc? Nope, hit Find again, then Esc.

I guess it depends on whether you consider the Command+D part of the finding action or not. If not, shouldn't it be hidden automatically (if you're done with Finding). If it is, then shouldn't Esc close it.

Always just feels a little clunky to me...
andyjeffries
 
Posts: 30
Joined: Tue Sep 27, 2011 9:36 am

Re: how to hide the find box

Postby nick. on Thu Apr 05, 2012 2:47 am

andyjeffries wrote:I often have issues with the Find box. For example, if you do the following:

Find
Type something
Hit Command+D a few times to select the multiples
How do you get rid of the Find box, hit Esc? Nope, hit Find again, then Esc.

I guess it depends on whether you consider the Command+D part of the finding action or not. If not, shouldn't it be hidden automatically (if you're done with Finding). If it is, then shouldn't Esc close it.

Always just feels a little clunky to me...


This should be solvable via keybinding contexts. Maybe something like this:
Code: Select all
{
    "keys": ["escape"], "command": "hide_panel",
        "context": [
            { "key": "panel_visible", "operator": "equal", "operand": true },
            { "key": "selection_empty", "operand": false }
        ]
}
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 23 guests