I've not found any straightforward way to re-visit a file whose buffer I just killed. Sort of like undoing the killing of the buffer.
I thought about getting the file's path from Ido's virtual buffers list: if you use recentf
and set ido-use-virtual-buffers
to t
, after invoking ido-switch-buffers
Ido shows the buffer names of recently closed file buffers (not Help buffers or other buffer's that weren't visiting a file), fontified using the face ido-virtual
. I need the first one of those files, but I can't find a way to retrieve it.