-
Notifications
You must be signed in to change notification settings - Fork 20
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
docs: add recipe for searching and replacing in mini.files #269
Conversation
@@ -412,6 +412,52 @@ return { | |||
``` | |||
</details> | |||
|
|||
<details> | |||
<summary>MiniFiles explorer lazy plugin setup</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Could you do me a favor though and change the heading of this whole section from
#### Add nvim-tree integration to open search limited to focused directory or file
to something that makes sense 😄 .
ex:
#### Add nvim-tree, oil, mini-files integration to open search limited to focused directory or file
Or ideally, we split it up into 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we choose the second option and split the integrations into three sections, do you think it's necessary to add the description of each integration, like this?
#### Add nvim-tree integration to open search limited to focused directory or file
Create a hotkey `z` in `nvim-tree` that will create/open a named instance of grug-far with the current directory of the file or directory in focus. On the second trigger, path of the grug-far instance will be updated, leaving other fields intact.
...
#### Add oil.nvim integration to open search limited to focused directory
Create a hotkey `gs` in `oil.nvim` that will create/open a named instance of grug-far with the current directory in focus. On the second trigger, path of the grug-far instance will be updated, leaving other fields intact.
...
#### Add mini.files integration to open search limited to focused directory
Create a hotkey `gs` in `mini.files` that will create/open an instance of grug-far with the current directory in focus. On the second trigger, the path of the grug-far instance will be updated, leaving other fields intact.
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that would be for the best as there are minute differences! (the hotkey)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! Thank you for updating all those! 😄
This PR addresses issue #257 by adding an integration recipe for using
grug-far.nvim
withmini.files
.Implemented a recipe that allows users to easily search within the current directory using grug-far while navigating files with mini.files. Fixed a couple of minor issues in the original recipe provided in the issue.