fix readme

This commit is contained in:
Kien N 2011-09-06 07:05:03 +07:00
parent d82dfe8319
commit 88b4d9ae84

View File

@ -8,12 +8,12 @@ Full path fuzzy file and buffer finder for Vim.
## Basic Usage ## Basic Usage
* Press `<c-p>` or run `:CtrlP` to invoke CtrlP. * Press `<c-p>` or run `:CtrlP` to invoke CtrlP.
* Press `<c-f>` while CtrlP is open to toggle between find buffer mode and find file mode.
* Ever remember only a files name but not where it is? Press `<c-d>` while CtrlP is open to switch to filename only search. * Ever remember only a files name but not where it is? Press `<c-d>` while CtrlP is open to switch to filename only search.
* Use `*` `?` `^` `+` or `|` in the prompt to submit the string as a Vims regexp pattern. * Use `*` `?` `^` `+` or `|` in the prompt to submit the string as a Vims regexp pattern.
* Or press `<c-r>` while CtrlP is open to switch to full regexp search mode. * Or press `<c-r>` while CtrlP is open to switch to full regexp search mode.
* End the input string with a colon `:` followed by a number to jump to that line in the selected file. * End the input string with a colon `:` followed by a number to jump to that line in the selected file.
e.g. `abc:45` to open the file matched the pattern and jump to line 45. e.g. `abc:45` to open the file matched the pattern and jump to line 45.
* Press `<c-f>` to toggle find buffer mode/find file mode while CtrlP is open.
_Screenshot: filename only mode with the match window focused._ _Screenshot: filename only mode with the match window focused._
![ctrlp filename mode, match window focused][2] ![ctrlp filename mode, match window focused][2]