kien/ctrlp.vim — Issue #33: Switch to project mode with / automatically
Author: graudeejs
Created: 2011-11-14 07:46:30+00:00
State: open

This is related to issue #30

Right now I'm at work, and using ctrlp as usual (except that I use new feature).
It works good, but it's annoying to press enter after / (and it slows you down)

ctrlp should switch mode automatically, because there are no files with / in filename anyway.

This would make it faster to navigate.

Think about this scenario:
let g:ctrlp_working_path_mode = 1

open buffer and search for file, switch to it.
Now you need to open some other file in other directory.
Since you know file is in other directory, you open ctrlp and type /
ctrlp immediately switches to project root
and you type your file you want to search.

Having user hit Enter after typing / isn't really useful in this case, don't you think.