Is it possible to copy a search result form the ctrlP
match window? With <s-tab>
one can focus the match window but it doesn't seem posible to yank from there.
I often have to search for files that I need in my scripts, but I only remember their names vaguely. So I use ctrlP
to find the file. No I'd like to paste the matching file name to my script. I cannot find anything like this in the documentation of ctrlP
!
For example in this case I want to copy the path the cursor is on (in the match window at the bottom) to a register and then paste it into the above window...
g:ctrlp_open_func
and grab the match to a register instead of opening it, but it's just a guess... – Gangrene