feat(nvim): open all multi-selected files on cr#544
Open
gshahbazian wants to merge 1 commit into
Open
Conversation
Owner
dmtrKovalenko
left a comment
There was a problem hiding this comment.
I have tried on snacks nvim and I don't see what they are doing it opens one of the match , and I am not sure what are you trying to do here.
Mayve you can upload the video of what you are performing? I think it might make more sense to open a new tab for every file (but I personally hate tabs)
| vim.fn.mkdir(other_cwd, 'p') | ||
|
|
||
| target_filename = 'issue389_target.lua' | ||
| target_filename = 'issue389_target.txt' |
Owner
There was a problem hiding this comment.
please do not change any prior edited files for history completion
Contributor
Author
|
@dmtrKovalenko this change opens a buffer for each multi-selected file. i will add a video for you when i get some time. |
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.
if multiple files are selected (using
<tab>) then return shouldopen all of them. snacks picker works this way and i think most
will expect it.