Finding Files


One important note about projectile and flx: their matching is aggressive. This is a nice feature most of the time, except when you want to open a new file. They'll eagerly find you some file–any file–that matches the name you're trying to enter. So, to turn this off temporarily press: C-f.

(require-package 'f) ;; undeclared dependency?
(require-package 'projectile)


(global-set-key (kbd "C-x f") 'projectile-find-file)
(global-unset-key (kbd "<f4>"))
(global-set-key (kbd "<f4>") 'projectile-find-file)

Fuzzy Matching of File and Command Names

Fuzzy matching is brought in with the flx package.

(require-package 'flx-ido)
(require 'flx-ido)

(ido-mode 1)
(ido-everywhere 1)
(flx-ido-mode 1)

(setq ido-enable-flex-matching t)
(setq ido-use-faces nil)

Open Recent Files

Enable “Open Recent” and give it a keybinding:

(recentf-mode 1)
(global-set-key (kbd "C-c f") 'recentf-open-files)

Author: Toby Tripp

Created: 2015-02-04 Wed 10:41

Emacs 24.3.1 (Org mode 8.2.10)