Hacker News new | ask | show | jobs
by piquadrat 3755 days ago
> There's no obvious way to search within a directory. I don't want to search everywhere which is the only option I see in ctrl-A. I want to be able to right click or similar on a directory in my project and search just in that directory.

Right-click on folder, "Find in path..." does exactly that, doesn't it?

1 comments

It's not in the right-click menu (at least on the bar at the top, and I don't know how to make the panel on the left appear), but that does it, thanks! I assumed it would be called "search" since the startup background talks about "search", didn't think to look for "find".
On OS X it's cmd + 1, I'd guess ctrl + 1 for Windows? Or click the box in the bottom left which brings up panes for everything. You can also bind the keymap however you like, to make these panes accessible in commands you can remember
Alt-1 on Windows/Mac.

I switch between Mac (work) and Linux (home) and trying to remember which Linux shortcuts move onto Cmd is turning out to be a struggle.