branch: master commit 9ae55b4ca93b112d9472c57b20c2091bafe95607 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-recentf): New command Fixes #124 --- ivy.el | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ivy.el b/ivy.el index 9fc4624..2149e2d 100644 --- a/ivy.el +++ b/ivy.el @@ -1263,6 +1263,12 @@ BUFFER may be a string or nil." :preselect (buffer-name (other-buffer (current-buffer))) :action #'ivy--switch-buffer-action))) +(defun ivy-recentf () + "Find a file on `recentf-list'." + (interactive) + (ivy-read "Recentf: " recentf-list + :action #'find-file)) + (provide 'ivy) ;;; ivy.el ends here