Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Sublime Text 2 has an extremely handy feature to press Ctrl+P and be able to fuzzy search for files in a given specified directory.

This worked well on Windows, but on Ubuntu it doesn't recognise the sub directories of my /var/www/ folder, just the files, meaning I can't search through my development server easily. I tried starting Sublime with sudo but that didn't help. Any thoughts?

share|improve this question
    
It works fine on Ubuntu. How did you start sublime? What does your project look like? Post a screenshot of sidebar maybe. Have you tried sublime-text /var/www? –  mreq Dec 17 '12 at 12:34
    
Ah. Your suggestion worked. Still learning the ropes, thanks! –  Bogdan Dec 17 '12 at 12:46

1 Answer 1

up vote 2 down vote accepted

In order to search files via Sublime Text 2, you have to have them opened as a project.

The easiest way to accomplish so is to start sublime from the terminal using

sublime-text /path/to/directory
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.