Skip to content

feat(nvim): open all multi-selected files on cr#544

Open
gshahbazian wants to merge 1 commit into
dmtrKovalenko:mainfrom
gshahbazian:gabe/multi-select-cr
Open

feat(nvim): open all multi-selected files on cr#544
gshahbazian wants to merge 1 commit into
dmtrKovalenko:mainfrom
gshahbazian:gabe/multi-select-cr

Conversation

@gshahbazian
Copy link
Copy Markdown
Contributor

@gshahbazian gshahbazian commented May 31, 2026

if multiple files are selected (using <tab>) then return should
open all of them. snacks picker works this way and i think most
will expect it.

Copy link
Copy Markdown
Owner

@dmtrKovalenko dmtrKovalenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please do not change any prior edited files for history completion

@gshahbazian
Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants