Difference between revisions of "Recentf"
m (→Show recent files when switching buffers)
(native -> built-in)
|Line 49:||Line 49:|
Latest revision as of 11:32, 5 April 2012
|Description||helps opening a file that is recently visited|
|Part of Emacs||yes|
recentf helps you to open files that are recently accessed.This package maintains a menu for visiting files that were operated on recently. When enabled a new "Open Recent" sub menu is displayed in the "File" menu. The recent files list is automatically saved across Emacs sessions. You can customize the number of recent files displayed, the location of the menu and others options (see the source code for details).
To enable this package, add the following to your .emacs
Alternative Ways to Access Recent Files
There are a variety of ways to use the recent file list maintained by Recentf.
Use Ido selection
(defun ido-choose-from-recentf () "Use ido to select a recently visited file from the `recentf-list'" (interactive) (find-file (ido-completing-read "Open file: " recentf-list nil t))) ;;; bind it to "C-c f" (global-set-key (kbd "C-c f") 'ido-choose-from-recentf)
Show recent files when switching buffers
Use Helm selection
You can use Helm to select a recent file, see M-x helm-recentf.