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
How to know what is the default action #1774
Comments
One suggestion to avoid it would be to remove I don't think it's useful for |
Hmm, I see, good advice. Is it only |
To avoid accidental file deletion, I think the followings may be useful.
|
@iquiw Yup, do you have anything like this drafted? Also I think
|
M-o k will now ask for confirmation unless I realize that this becomes a bit clunky when deleting multiple files within one session. This can be improved in the future once ivy gets some kind of |
Please let me know if your concern has been sufficiently addressed. And thanks for bringing this up. |
Yes, I think it fixes main concerns. I have one question: if the file also has a buffer(s), will it ask to kill the buffers or not? |
No, it will not ask. Dired only asks to kill the buffers visiting deleted files/directories when the function |
Yes, I think, this is helpful. |
(counsel-find-file-delete): Maybe delete buffers visiting recently deleted file. Re: abo-abo#1774
I have recently got confused by actions. Could you, please, clarify what is the right way to use it? I had chosen deleted a file in actions using
ivy-dispatching-done
, then I decide toivy-resume
, because I actually needed to open a file, of course, I had forgotten that my last action is delete and I hitivy-done
(e.g. `Enter). My file is gone, I had not stashed this file to git and, for some reasons I do not have backups of it (that is another issue to investigate). Could you suggest anything to avoid this problem in future?The text was updated successfully, but these errors were encountered: