Search code examples
vimnerdtree

Vim and NERD tree - deleting a file


Is there an easy way to delete a file under the cursor in Vim NERDTree?

Toggling help ? doesn't show any mappings for deleting.


Solution

  • Use m to open the menu, then d (or scroll down to delete and press enter). Esc exits the menu if you changed your mind.