This adds the shortcut `cmd/ctrl + alt + enter` to the search modal to open a found file in a new leaf. I used the term "split" in user-facing text, because I think that's the more common
Some things to note:
- This function ignores the existing "open in new pane by default" setting.
- It also does not check to see if the file is already open. It will continue opening the value in a new split as often as the user wants.
* add downrankedFoldersFilters to settings
* use downrankedFoldersFilters to downrank some files without excluding them in obsidian, which also prevents tags from being indexed
* change hotkey for toggling excerpts to ctrl-g
* change var to let for proper scoping
* trim folders after splitting them
* only log downranking when we actually do it
* format with Prettier
* make prompt-instruction-command still ctrl g for now
* Fixed search results with diacritics
- Caches are now stored with diacritics regardless of settings.ignoreDiacritics
- Modified getMatches() behavior to return results with correct form
- Modified ResultItemVault.svelte
* Fixed highlighting words with comma and period
- remove commas and periods from matches
* Fixed highlighting of Cyrillic characters
- changed highlight regexp determination to be based on character type
* Fixed highlighting problem of Japanese and Korean
- marked some Japanese diacritics to escape removal
- added NFC normalization to keep right form of Korean character
* Fixed highlighting of words with punctuation
- deleted space/punctuation list from stringsToRegex()
- it seems to be working correctly with words with punctuation and hyphenated words AFAIK
* Deleted some unused imports
* Modified the comment
* Added comment
* Fixed highlighting issue with comma and period
* Fixed highlighting issue with caret and other symbols
- Added `^` to separators
- Changed regex to use separators
- Added escape of `^` from diacritics removal