Skip to content

Instantly share code, notes, and snippets.

@alecbz
Created May 24, 2012 19:22
Show Gist options
  • Save alecbz/2783684 to your computer and use it in GitHub Desktop.
Save alecbz/2783684 to your computer and use it in GitHub Desktop.
I don't know if using a tool like [ctrlp for vim](https://github.com/kien/ctrlp.vim) is always such a great idea, especially when exploring a directory structure that you're unfamiliar with. ctrlp is great, and I love it for things like rails projects, where I more or less know where all the files are but I'm getting ready to bash my head in from having to type app/views/post/show.html.erb in 50 billion times.
Unfortunately, I'm also tempted to love ctrlp in situations where I'm not familiar with the directory structure. While going through some google training exercises, there are parts that go "open blah.cc", which happens to reside in a directory structure I'm not so familiar with. It's really tempting to just ctrl+p and type "blah.cc", but now I have no idea where the file was, and I get to go on doing stuff without getting an understanding of the directory structure. It's much better to spend some time digging through the directory tree to see what's what and where what is.
Fuzzy finders like cltrp are awesome, but if you use them preemptively, I think they can cause problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment