-
Notifications
You must be signed in to change notification settings - Fork 26
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
[FEATURE REQUEST] File chooser mode #261
Comments
Hi, I think this is similar to this issue of joshuto kamiyaa/joshuto#96 . I'd be appreciate if you teach me how this would work with the vim plugin. |
Sure yeah. So for example when run with As a side note, is there currently a way of passing just a file path and having that file path focused when opening |
By the way - very cool project, thanks for making it |
Sorry for the late reaction. Edit: Oh, and the selectfile option is another story -- It might be worth considering, so I'll create a new issue about it. |
No problem, thanks for implementing this! Checked it out and just 2 things (my opinion):
The use case for me is:
|
I think it will be more ergonomic to first select a bunch of files in |
Could be an option I guess, though hopefully |
@Rolv-Apneseth |
Awesome, thank you. Would it make more sense to override the file with the new path rather than just append the path to the existing file? It wouldn't make a difference for my use case though so for me it's fine as it is. One more potential feature for this, how about being able to output multiple files with linewise visual mode? Absolutely not necessary but it would be nice. This could potentially be a separate feature, as, correct me if I'm wrong, but I don't think there's a way to open multiple files to edit at the same time right now? |
OK, I'll fix it to open in non-append mode. |
@Rolv-Apneseth
|
That's awesome, works great! |
Merged to |
Awesome, thank you. Sorry for the late reply, I've been away. I have a couple of issues/suggestions (only if you have time of course - if you don't let me know and perhaps I could have a go):
|
Ah.. This one is becoming a kind of yak-shaving, you might also know. |
Yep fair enough, no need to do anything else if you don't want. I completely understand. As for the plugin - no idea how many use it. Probably not all that many. I will say though, these features are nice to have for being able to easily integrate this file manager into other programs, and the other major terminal file managers have these options. Realistically, if you want to leave it here, it is good enough as it is since |
Will the |
At least until I understand what is the minimum to meet the demand, no, it won't. |
Just a possibility, but something like yazi's
--chooser-file
(orranger
's--choosefiles
) flag would be very useful. This just writes the selected file(s) to a given file path instead of opening them directly. My use case is for using it in a Neovim plugin, such as others I have in my plugin tfm.nvim.The text was updated successfully, but these errors were encountered: