codesearch.el
codesearch.el copied to clipboard
Consider ways to show relative paths in results listing
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.
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.