Skip to content
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

Edit multiple filenames in a buffer (wdired-like interface) #914

Open
apraga opened this issue Jul 24, 2024 · 3 comments
Open

Edit multiple filenames in a buffer (wdired-like interface) #914

apraga opened this issue Jul 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@apraga
Copy link
Contributor

apraga commented Jul 24, 2024

Hi,

I really like the idea and execution of broot, thanks for that !
As an emacs user, the only thing that I’m missing is he ability to edit multiples filenames in a buffer.
In emacs, wdired allows that : it transforms the current listing into an editable buffer and any modification will be propagated to the file system.

That is quite handy but needs an editor. It looks hard to do in my unexperienced opinion thouh Maybe a strategy similar to nushell nushell/nushell#5381 could be doable, by opening an editor and write back the buffer ?

Just my 2 cents.

@apraga apraga added the enhancement New feature or request label Jul 24, 2024
@apraga apraga changed the title Wdired-like interface Edit multiple filenames in a buffer (wdired-like interface) Jul 24, 2024
@Canop
Copy link
Owner

Canop commented Jul 24, 2024

Sending all staged paths to a tool like https://github.com/marcusbuffett/pipe-rename perhaps ?

@apraga
Copy link
Contributor Author

apraga commented Jul 24, 2024

It could be a great solution ! I could not figure out how to gave it all the files at onces in verbs.json.
With

{
        invocation: renamer
        apply_to: file
        external: "renamer {file}"
        leave_broot: false
    }

It only opens file one-by-one. Is it perhaps related t #444 ?

@Canop
Copy link
Owner

Canop commented Jul 24, 2024

I'll try to solve that with the flags I mention on #901 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants