triptych.nvim icon indicating copy to clipboard operation
triptych.nvim copied to clipboard

Oil/mini.file like file rename/mv

Open LintaoAmons opened this issue 2 years ago • 4 comments

I really like the ranger like way of explorer the fs and extention_mapping

One thing I missing is the file rename in bulk like oil or mini.file.

If it's possible to add those functionality?

LintaoAmons avatar Dec 18 '23 02:12 LintaoAmons

Hi @LintaoAmons When you say

rename in bulk like oil or mini.file

do you mean that you'd like to be able to manipulate the file system by editing the buffer, like those plugins (in other words, by just changing buffer text and hitting :w), or just that you'd like bulk rename in some capacity in Triptych?

The only way I could think to implement it in Triptych is to present the user with a series of input prompts, one at a time, for each selected file/folder. Which doesn't feel very "bulk" :/

simonmclean avatar Dec 19 '23 20:12 simonmclean

Closing due to inactivity

simonmclean avatar Feb 09 '24 17:02 simonmclean

Perhaps to allow select multiple files and open a new buffer with them to rename them.

tex avatar Apr 24 '24 14:04 tex

Perhaps to allow select multiple files and open a new buffer with them to rename them

🤔 A generic "select" binding would make sense. Perhaps along with an "add to quickfix list". This would be very powerful, as it would allow users to perform any operations on files and directories

simonmclean avatar May 06 '24 16:05 simonmclean

I've racked my brain about this and done some experimenting/prototyping, and honestly I haven't been able to come with anything that adds any real adds value to the plugin. Any kind of oil.nvim style functionality would require significant work and refactoring which I don't plan to do at this stage.

As such I'm going to close this issue again

simonmclean avatar Aug 11 '24 17:08 simonmclean