codesearch.el icon indicating copy to clipboard operation
codesearch.el copied to clipboard

Consider ways to show relative paths in results listing

Open abingham opened this issue 13 years ago • 1 comments

RIght now all results are displayed with full paths. This is technically correct and general, but it's also very verbose, esp. for the common (?) case where all of your source exists under a single root. Think about ways to optionally display relative paths.

abingham avatar Oct 10 '12 06:10 abingham

Perhaps an optional argument to search which specifies a root directory. Search results not under this directory could be ignored (i.e. not displayed), and the root directory could be stripped off.

Extensions like a projectile plugin could automatically set the root dir to e.g. the projectile-root.

abingham avatar Oct 28 '14 07:10 abingham