I try to delete some non-empty folder in netrw by pressing Shift d and, after press y
, I got this error:
(netrw) unable to delete directory {path}
I already put this variable in my .config/nvim/init.vim
file and doesn't works: let g:netrw_localrmdir='rm -r'
As I read, this variable only works with vim 7.4 and earlier.
Is there a way to delete non-empty directories with netrw in Vim 8+ or Neovim?
My setup:
OS: MacOs Catalina
NVIM v0.4.3
EDIT
My intention is to use as few plugins as possible, but, netrw
has some other bugs, so U gave up using netrw
and installed NERDTree
again.