diff options
author | Canop <cano.petrole@gmail.com> | 2022-09-22 23:32:35 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-09-22 23:34:56 +0200 |
commit | 0f5193f31eeeb9f6e721806fca8f3acde6b52da9 (patch) | |
tree | 3c8e433ba74864c220c7fa60fd2abe1f47114005 /website/docs | |
parent | b92b296030083e801cb54de56cfeb345ea1383ca (diff) |
allow showing only file name on path searches
Using
show_matching_characters_on_path_searches: false
Fix #490
Diffstat (limited to 'website/docs')
-rw-r--r-- | website/docs/conf_file.md | 18 | ||||
-rw-r--r-- | website/docs/img/subpath-match-not-shown.png | bin | 0 -> 28051 bytes | |||
-rw-r--r-- | website/docs/img/subpath-match-shown.png | bin | 0 -> 39960 bytes |
3 files changed, 18 insertions, 0 deletions
diff --git a/website/docs/conf_file.md b/website/docs/conf_file.md index 5cab485..1f9d069 100644 --- a/website/docs/conf_file.md +++ b/website/docs/conf_file.md @@ -282,3 +282,21 @@ quit_on_last_cancel: true ```TOML quit_on_last_cancel = true ``` +## Only show file name even when the pattern is on paths + +When your search pattern is applied to a path, the path is shown on each line so that you see why the line matches: + +![shown](img/subpath-match-shown.png) + +If you don't really need to see matching characters, you may get a cleaner display with just file names with this option: + +```Hjson +show_matching_characters_on_path_searches: false +``` +```TOML +show_matching_characters_on_path_searches = false +``` + +which gives this: + +![not shown](img/subpath-match-not-shown.png) diff --git a/website/docs/img/subpath-match-not-shown.png b/website/docs/img/subpath-match-not-shown.png Binary files differnew file mode 100644 index 0000000..19930dd --- /dev/null +++ b/website/docs/img/subpath-match-not-shown.png diff --git a/website/docs/img/subpath-match-shown.png b/website/docs/img/subpath-match-shown.png Binary files differnew file mode 100644 index 0000000..231c972 --- /dev/null +++ b/website/docs/img/subpath-match-shown.png |