Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require user to type 'yes' to delete an empty directory #530

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

mikeperri
Copy link

It will use the normal "yN" delete prompt instead.

My reasoning is that if you expect that the directory is empty, and you see the "STOP!" prompt, you might get concerned that it's not actually empty and waste a couple of seconds going back and checking.

Potential concerns: if you were used to typing "yes", you might end up typing y, which would confirm deletion, then e, and then s, which would open the file that's now under your cursor in a new split. This could be mildly annoying if you were very accustomed to the way NERDTree works now.

@PhilRunninger PhilRunninger merged commit 1a6c502 into preservim:master Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants