Does Emacs have a command to open a recently opened file? How visit-most-recent-file?
Please note that I do not want to view the list of recent files, and then select one of them. I want to automatically visit the recently opened.
It would be great to visit a recently opened file (which is no longer in the current buffer) with a single keystroke. And then you can visit the next recently opened file by pressing the key again, etc.
So, by pressing this key four times (for example A-UP), I can automatically open the first four files in the list of recent files.
I can somehow do this by viewing the latest files by pressing C-x C-f UP RET, but it would be great to do this with a single keystroke (for example, A-UP).
source
share