Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea: spaces represent slashes #76

Open
jjb opened this issue Jun 6, 2010 · 5 comments
Open

idea: spaces represent slashes #76

jjb opened this issue Jun 6, 2010 · 5 comments

Comments

@jjb
Copy link

jjb commented Jun 6, 2010

given that:

  • peepcode's main strength/distinction is the ability to search for directories in addition to file names
  • the behavior of inserting slashes is pretty perfect and super handy (can instantly get to index.html.erb for Users with v/u/i)
  • spaces currently have no function other the visually aiding in the construction of longer searches

how about having spaces represent slashes? no need for any fancy visualization or explanation -- entering a space would just enter a slash, plain and simple.

@topfunky
Copy link
Owner

topfunky commented Jun 8, 2010

That's an interesting idea!

A previous feature request was from a person who used spaces instead of underscores.

Spaces are currently ignored, so you could enter a space where a slash should be and it might match the right thing anyway.

@jjb
Copy link
Author

jjb commented Jun 8, 2010

Yep, experimented with that a bit, slashes are always much much more precise, and make for a nice mental map to get to the file.

True, making the spaces act as slashes will conflict with expectations from TextMate command-t… but isn't differentiation and improvement the point? :)

@jjb
Copy link
Author

jjb commented Jun 8, 2010

(it could be an option in preferences...)

@Soleone
Copy link

Soleone commented Jul 29, 2010

+1 for this idea. I find it kind of cumbersome to manually type the slash, using space is a lot faster imo.

@jweir
Copy link

jweir commented Jul 31, 2010

I use a modified FuzzyFinder in VIM which maps spaces to
"**/" and it works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants