Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shortlived
· 14y ago · 0 comments
Does anyone know how to change default search behavior from full-path to filename? I read the help but don't see the option...
Comments
[–]
daethorian
14y ago
Ctrl-D will switch between path and file modes.
[–]
shortlived
OP
14y ago
Sorry, I meant, in your vimrc file.. Having to hit ctrl-d each time is a PITA.
[–]
partkyle
14y ago
let g:ctrlp_by_filename = 1
I found this in the help docs.