

( defadvice ido-set-matches-1 (around my-ido-set-matches-1 activate) The following fixed the issue for me: ( defvar af-ido-flex-fuzzy-limit (* 2000 5)) I found this had terrible behavior (emacs seizing up) if I typoed and my typo was not a match in the TAGS file. It can be bound to C-t or a similar key for convenience: (global-set-key "\C-t" 'ido-find-file-in-tag-files) ( let ((enable-recursive-minibuffers t)) (visit-tags-table-buffer)) The following function uses Ido to select among the files listed in the tags file: ( defun ido-find-file-in-tag-files () You can get ‘find-file-in-project’ here: Īnswer 3: Use the Emacs tags file as your project metaphor. See Icicles - Completion Methods and Styles.Īnswer 2: Use ‘find-file-in-project’ with Ido or Icicles, to get TextMate’s behavior with regard to projects of files. With Icicles you can have fuzzy matching for every kind of input, not just files and buffers. Just turn on this kind of matching in Ido or Icicles ( M-( toggles it in Icicles), and from then on file-name matching will automatically use it. For Emacs, applying fuzzy completion to all files recursively found in a given directory would be awesome.Īnswer 1: Use Ido or Icicles to get TextMate’s kind of “fuzzy” matching (called “flex” matching in Ido and “scatter” matching in Icicles). Question: How can I get the equivalent of TextMate’s “Go To File” (Navigation > Go To File, or Command-T) functionality in Emacs? None of the buffer switching techniques I’ve found really do what TextMate does – namely, apply fuzzy completion to all files found in a project. There’s also ECB, and Ide-skel.ĪquamacsEmacs has a lot of TextMate’s key bindings by default.

SpeedBar is similar to the TextMate’s Project Drawer. Multiple-line-edit provides a feature similar to the command “Edit Each Line In Selection”. If you want TextMate’s Filter Through Command, see ExecuteExternalCommand. YASnippet is a template system for Emacs. See WholeLineOrRegion for line-wise copying and cutting when no text is selected. Pair insertion goes hand in hand with (vi-like) OpenNextLine commands. This can be done by using AutoIndentMode. Note that AutoPairs, doesn’t support the M-Return and S-M-Return keys of TextMate. See textmate-mode for an attempt of having the TextMate behaviour for parenthesis and quotes (auto-closing, overwriting, smart delete). This is also accomplished by auto-indent-mode.el If you want automatic indentation of pasted text like in TextMate, see AutoIndentation. If you want TextMate-style “fuzzy” file (and other) completion, see Icicles - Completion Methods and Styles or IDO-mode.
