-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Function "spacemacs/delete-current-buffer-file" support prefix argument #16384
Function "spacemacs/delete-current-buffer-file" support prefix argument #16384
Conversation
* layers/+spacemacs/spacemacs-defaults/funcs.el: (spacemacs/delete-current-buffer-file): Prefix argument for assume yes. (spacemacs/delete-current-buffer-file-yes): assume yes. * layers/+spacemacs/spacemacs-defaults/keybindings.el: Binding "SPC f d" for killing buffer and delete file with question. Binding "SPC f D" for killing buffer and deleting file without confirm.
I think you still need to extend the bindings in Documentantion.org. |
Yes, totally! I'll update the document and make a new pull request. Thank you ! |
@smile13241324 @sunlin7 If proposed bindings are desirable, a more progressive rollout would prevent users to suffer it. I'd rather push initially just the binding change from |
Hi @pataquets |
Hi @pataquets |
Hi,
The
SPC f D
(spacemacs/delete-current-buffer-file
) will always requests confirming by type y-or-n.This change will enhance user experience with key bindings:
SPC f d
-- delete current buffer and file, with confirming required;SPC f D
-- delete current buffer and file, assume yes (without confirming required).C-u SPC f d
-- delete current buffer and file, assume yes (without confirming required).Please help review and approve this enhancement. Thanks.