Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to search for strings with hyphens in #268

Closed
tadashi-aikawa opened this issue Jan 13, 2025 Discussed in #267 · 2 comments
Closed

How to search for strings with hyphens in #268

tadashi-aikawa opened this issue Jan 13, 2025 Discussed in #267 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tadashi-aikawa
Copy link
Owner

Discussed in #267

Originally posted by claremacrae January 12, 2025

Background

A lot of my files have a pattern space-hyphen-space in, and so I often copy-and-past bits of filenames, and use them in this plugin's search.

It seems that the plugin interprets hyphen (-) as a special character, and so does not find the files.

Example

For example: searching for obsidian - my:

image

If I change the search to obsidian my it finds loads of things - but in fact it was the file marked in red that I wanted to open, so all the other ones are unwanted...:

image

Question

Is there a way to disable the plugin's special treatment of hyphen (-) and have it just be one of the characters searched for, please?

@tadashi-aikawa tadashi-aikawa added the enhancement New feature or request label Jan 13, 2025
@tadashi-aikawa tadashi-aikawa self-assigned this Jan 13, 2025
github-actions bot pushed a commit that referenced this issue Jan 13, 2025
## [12.3.0](12.2.0...12.3.0) (2025-01-13)

### ✨ Features

* **main:** Add an "Exclude prefix" option ([#268](#268)) ([4146277](4146277))
@tadashi-aikawa
Copy link
Owner Author

@claremacrae
Released in v12.3.0 🚀

@claremacrae
Copy link

I just tried this out and it's perfect - thank you very much indeed @tadashi-aikawa! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants