kien/ctrlp.vim — Issue #134: Handle long lines in the match window
Author: lervag
Created: 2012-02-08 18:45:03+00:00
State: open

In some cases the entries in the match window are very long (longer than 80 columns), which makes it difficult to see the actual file name(s). I was thinking that a good improvement would be to filter the output such that for instance the middle part of a file path is removed (and substituted with "..." or similar) such that the entire file name is displayed correctly.

I don't know how difficult this would be, but it seems to me it could be done by adding a filter to the lines variable in the render function.