The latest netrw-s are using the COMSPEC environment variable with /c and move (and copy, for copying). Should work more often under Windows without the user needing to specify a move and/or copy executable command. Please upgrade your netrw to http://www.drchip.org/astronaut/vim/index.html#NETRW ; as of now its up to v153f.
Vim NERDTree: How to delete multiple files at once?
Question
Is possible to delete multiple files in VIM ERDTree? I know the delete node command is m(show menu),d(delete node),y(delete?). If I want to delete multiple files, I have to input m,d,y command many times. Can I select many nodes and input delete command once to delete multiple files?
Thank you for your help.
Solution
OTHER TIPS
As far as I know, NERDTree doesn't let you select multiple nodes so I believe you can't do what you want with that plugin.
However, vim comes by default with another plugin which does a lot more than NERDTree called netrw: :help netrw
.
With netrw, deleting multiple files is done like that:
mf
(navigation)
mf
...
D
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow