diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index bdd25b3..7a12c95 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -179,6 +179,15 @@ telescope.setup({opts}) *telescope.setup()* - "shorten" only display the first character of each directory in the path + You can also specify the number of characters of each directory name + to keep by setting `path_display.shorten = num`. + e.g. for a path like + `alpha/beta/gamma/delta.txt` + setting `path_display.shorten = 1` will give a path like: + `a/b/g/delta.txt` + Similarly, `path_display.shorten = 2` will give a path like: + `al/be/ga/delta.txt` + path_display can also be set to 'hidden' string to hide file names path_display can also be set to a function for custom formatting of |
