Function: ido-find-file
ido-find-file is an autoloaded, interactive and byte-compiled function
defined in ido.el.gz.
Signature
(ido-find-file)
Documentation
Edit file with name obtained via minibuffer.
The file is displayed according to ido-default-file-method -- the
default is to show it in the same window, unless it is already visible
in another frame.
The file name is selected interactively by typing a substring. As you
type in a string, all of the filenames matching the string are displayed
if substring-matching is used (default). Look at ido-enable-prefix and
ido-toggle-prefix. When you have found the filename you want, it can
then be selected. As you type, most keys have their normal keybindings,
except for the following:
RET Select the file at the front of the list of matches.
If the list is empty, possibly prompt to create new file.
C-j (ido-select-text) Use the current input string verbatim.
C-s (ido-next-match) Put the first element at the end of the list.
C-r (ido-prev-match) Put the last element at the start of the list.
TAB (ido-complete) Complete a common suffix to the current string that matches
all files. If there is only one match, select that file.
If there is no common suffix, show a list of all matching files
in a separate window.
C-d (ido-magic-delete-char) Open the specified directory in Dired mode.
C-e (ido-edit-input) Edit input string (including directory).
M-p (ido-prev-work-directory) Go to previous directory in work directory history.
M-n (ido-next-work-directory) Go to next directory in work directory history.
M-s (ido-merge-work-directories) Search for file in the work directory history.
M-k (ido-forget-work-directory) Remove current directory from the work directory history.
M-o (ido-prev-work-file) Cycle to previous file in work file history.
C-M-o (ido-next-work-file) Cycle to next file in work file history.
M-f (ido-wide-find-file-or-pop-dir) Prompt for a file and use find to locate it.
M-d (ido-wide-find-dir-or-delete-dir) Prompt for a directory and use find to locate it.
M-m (ido-make-directory) Prompt for a directory to create in current directory.
C-x C-f (ido-fallback-command) Fallback to non-Ido version of current command.
C-t (ido-toggle-regexp) Toggle regexp searching.
C-p (ido-toggle-prefix) Toggle between substring and prefix matching.
C-c (ido-toggle-case) Toggle case-sensitive searching of file names.
M-l (ido-toggle-literal) Toggle literal reading of this file.
? (ido-completion-help) Show list of matching files in separate window.
C-a (ido-toggle-ignore) Toggle ignoring files listed in ido-ignore-files.
C-l (ido-reread-directory) Reread the current directory.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ido.el.gz
;;;###autoload
(defun ido-find-file ()
"Edit file with name obtained via minibuffer.
The file is displayed according to `ido-default-file-method' -- the
default is to show it in the same window, unless it is already visible
in another frame.
The file name is selected interactively by typing a substring. As you
type in a string, all of the filenames matching the string are displayed
if substring-matching is used (default). Look at `ido-enable-prefix' and
`ido-toggle-prefix'. When you have found the filename you want, it can
then be selected. As you type, most keys have their normal keybindings,
except for the following: \\<ido-file-completion-map>
RET\tSelect the file at the front of the list of matches.
\tIf the list is empty, possibly prompt to create new file.
\\[ido-select-text]\tUse the current input string verbatim.
\\[ido-next-match]\tPut the first element at the end of the list.
\\[ido-prev-match]\tPut the last element at the start of the list.
\\[ido-complete]\tComplete a common suffix to the current string that matches
\tall files. If there is only one match, select that file.
\tIf there is no common suffix, show a list of all matching files
\tin a separate window.
\\[ido-magic-delete-char]\tOpen the specified directory in Dired mode.
\\[ido-edit-input]\tEdit input string (including directory).
\\[ido-prev-work-directory]\tGo to previous directory in work directory history.
\\[ido-next-work-directory]\tGo to next directory in work directory history.
\\[ido-merge-work-directories]\tSearch for file in the work directory history.
\\[ido-forget-work-directory]\tRemove current directory from the work directory history.
\\[ido-prev-work-file]\tCycle to previous file in work file history.
\\[ido-next-work-file]\tCycle to next file in work file history.
\\[ido-wide-find-file-or-pop-dir]\tPrompt for a file and use find to locate it.
\\[ido-wide-find-dir-or-delete-dir]\tPrompt for a directory and use find to locate it.
\\[ido-make-directory]\tPrompt for a directory to create in current directory.
\\[ido-fallback-command]\tFallback to non-Ido version of current command.
\\[ido-toggle-regexp]\tToggle regexp searching.
\\[ido-toggle-prefix]\tToggle between substring and prefix matching.
\\[ido-toggle-case]\tToggle case-sensitive searching of file names.
\\[ido-toggle-literal]\tToggle literal reading of this file.
\\[ido-completion-help]\tShow list of matching files in separate window.
\\[ido-toggle-ignore]\tToggle ignoring files listed in `ido-ignore-files'.
\\[ido-reread-directory]\tReread the current directory."
(interactive)
(ido-file-internal ido-default-file-method))