Search in sub-directories when using search other than ag#121
Open
EdJoJob wants to merge 1 commit intomichal-h21:masterfrom
Open
Search in sub-directories when using search other than ag#121EdJoJob wants to merge 1 commit intomichal-h21:masterfrom
EdJoJob wants to merge 1 commit intomichal-h21:masterfrom
Conversation
When setting `g:zettel_fzf_command` to something other than `ag`, this is the smallest change that preserves the search tool looking through sub-directories. To test: 1. Have a folder in the zettel directory, with a wiki file in that folder. 2. Search for some content in that file 3. See that it appears in the fzf matcher Set the below in your Vim config, and the content will not be in the fzf-matcher: ```vim let g:zettel_fzf_command = "rg --column --line-number --ignore-case --no-heading --color=always " ``` Update to use this change and it will be available with the `rg` tool.
Owner
|
I am not sure if I followed your steps correctly, but with this change, Vim-zettel searches only in subdirectories of the actual wiki, and moreover, when I select a file in the subdirectory, it fails with an error. |
Contributor
Author
|
I'll have to have another look then. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When setting
g:zettel_fzf_commandto something other thanag, thisis the smallest change that preserves the search tool looking through
sub-directories.
To test:
folder.
Set the below in your Vim config, and the content will not be in the
fzf-matcher:
Update to use this change and it will be available with the
rgtool.