USECASE
The aim of this page 📝 is to explain how to duplicate a file in Vim using the netrw
file explorer with the vim-vinegar
plugin.
Spent way too much time, given that R
is shorthand for renaming the file.
- Use
vim-vinegar
to enhancenetrw
usability. - Press
-
to opennetrw
. - Mark the file with
mf
. - Copy the file with
mc
. - Input the new file name and press
Enter
.
Top comments (0)