X3eRo0 / dired.nvim

Emacs dired like file manager for neovim
GNU General Public License v3.0
147 stars 7 forks source link

Duplicate file under cursor with a new name? #16

Open laurolins opened 2 months ago

laurolins commented 2 months ago

Is there a way to duplicate the current file under the cursor with a new name? Maybe a DiredDuplicate function or is there a quick sequence to achieve this functionality. The sequence I came up with under dired is cumbersome: copy, paste in a different directory, rename, move back to original directory.

X3eRo0 commented 2 months ago

We don't have this feature right now, but its a feature that I myself have found missing in this plugin and I can quickly add this feature.