Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You could benefit from using <code>ido-mode</code>, which greatly enhances autocompletion nearly everywhere in emacs (especially when finding files or buffers)</p> <pre class="lang-lisp prettyprint-override"><code>(setq ido-enable-flex-matching t ido-auto-merge-work-directories-length -1 ido-create-new-buffer 'always ido-use-filename-at-point 'guess ido-everywhere t ido-default-buffer-method 'selected-window) (ido-mode 1) (put 'ido-exit-minibuffer 'disabled nil) (when (require 'ido-ubiquitous nil t) (ido-ubiquitous-mode 1)) </code></pre> <p>While this might help you quickly finding files "not far away", it probably won't help you much finding files in entirely different locations.</p> <p>If find that one way to begin tackling this problem is using <code>recentf-mode</code> to quickly jump to recent locations (if you have only a small number of usual project directories, this might do the trick). <code>recentf</code> can be coupled with <code>ido</code> using something like this (I'm not sure where I got this snippet from):</p> <pre class="lang-lisp prettyprint-override"><code>(recentf-mode 1) (setq recentf-max-saved-items 50) (defun ido-recentf-open () "Use `ido-completing-read' to \\[find-file] a recent file" (interactive) (if (find-file (ido-completing-read "Find recent file: " recentf-list)) (message "Opening file...") (message "Aborting"))) (global-set-key (kbd "C-x C-r") 'ido-recentf-open) </code></pre> <p>With this, you can use <code>C-x C-f</code> (<code>ido-find-file</code>) to look for files near you current location, and <code>C-x C-r</code> (<code>ido-recentf-open</code>) to look for recently opened files (hoping one of them is not too far away from where you want to go).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload