Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow ivy--kill-buffer-action to kill virtual buffers (remove from recentf) #1888
This was requested on Emacs StackExchange: Can the kill buffer action also apply to virtual buffers?
I've worked around this by registering my own kill action that checks if the buffer exists and if not tries to remove it from the recentf-list, but this seems like a generally useful capability.
The equivalent is apparently provided for ido,
No, that also works on existing buffers but not virtual buffers (i.e. the entries included from recentf). Killing one of those would require removing it from the recentf list. The goal here would be to have a single kill action that does the right thing, either killing the buffer or removing the corresponding entry from the recentf list.