4 ms·
* Smex. This adds IDO completion to M-x. Can't live without it. http://github.com/nonsequitur/smex/ http://github.com/nonsequitur/smex/ * Undo-tree. (http:/
by jsulak 16y ago
* Smex. This adds IDO completion to M-x. Can't live without it. http://github.com/nonsequitur/smex/ http://github.com/nonsequitur/smex/
* Undo-tree. (http://www.emacswiki.org/emacs/UndoTree http://www.emacswiki.org/emacs/UndoTree) Makes emacs undo useful.
This has been one of the most useful functions I've added to my .emacs:
(defun xsteve-ido-choose-from-recentf ()
"Use ido to select a recently opened file from the `recentf-list'"
(interactive)
(let ((home (expand-file-name (getenv "HOME"))))
(find-file
(ido-completing-read "Recentf open: "
(mapcar (lambda (path)
(replace-regexp-in-string home "~" path))
recentf-list)
nil t))))
(global-set-key [(meta f11)] 'xsteve-ido-choose-from-recentf)
From: http://www.xsteve.at/prg/emacs/power-user-tips.html http://www.xsteve.at/prg/emacs/power-user-tips.html, which has a bunch of good tips/key bindings