[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: textmate like fuzzy matching file completion?
From: |
William Xu |
Subject: |
Re: textmate like fuzzy matching file completion? |
Date: |
Sun, 24 Feb 2008 12:19:08 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (darwin) |
Unknown <unknown@unknown.invalid> writes:
> Textmate has a very nice file-opening and switching command mapped to
> Apple-T which allows a "fuzzy" string to be entered to so the user can
> switch to a file which may or may not have been opened yet. For
> example, type "elp" and files in the "project" such as "elephant" and
> "elope" will both show up as possible matches. Is there something
> similar for emacs?
Sure! Try ido-mode. Also, you may like to enable flex matching for your
purpose:
,----[ C-h v ido-enable-flex-matching RET ]
| ido-enable-flex-matching is a variable defined in `ido.el'.
| Its value is nil
|
|
| Documentation:
| *Non-nil means that `ido' will do flexible string matching.
| Flexible matching means that if the entered string does not
| match any item, any item containing the entered characters
| in the given sequence will match.
|
| You can customize this variable.
|
| [back]
`----
--
William
http://williamxu.net9.org