Update readme

This commit is contained in:
Kien N 2012-04-08 06:11:05 +07:00
parent ba7c2048a2
commit 9749ee2695

View File

@ -12,23 +12,23 @@ Full path fuzzy __file__, __buffer__, __mru__ and __tag__ finder for Vim.
## Basic Usage
* Press `<c-p>` or run `:CtrlP` to invoke CtrlP in find file mode.
* Or run `:CtrlPBuffer` or `:CtrlPMRU` to invoke CtrlP in buffer or MRU mode.
* Run `:CtrlPBuffer` or `:CtrlPMRU` to invoke CtrlP in buffer or MRU mode.
* Or run `:CtrlPMixed` to search in a mix of files, buffers and MRU files.
Once CtrlP is open:
* Press `<c-f>` and `<c-b>` to switch between find file, buffer, and MRU file
modes.
* Press `<c-d>` to switch to filename only search instead of full path.
* Press `<c-r>` to switch to regexp mode.
* Press `<F5>` to purge the cache for the current directory and get new files.
* Use `*` or `|` in the prompt to submit the string as a Vims regexp pattern.
* Or press `<c-r>` to switch to regexp mode.
* End the input string with a colon `:` followed by a command to execute after
opening the file.
e.g. `abc:45` will open the file matched the pattern and jump to line 45.
* Submit two dots `..` as the input string to go backward the directory tree by
1 level.
* Use `<c-y>` to create a new file and its parent dirs.
* Use `<c-z>` to mark/unmark files and `<c-o>` to open them.
* Use `<c-z>` to mark/unmark multiple files and `<c-o>` to open them.
## Basic Options
* Change the mapping to invoke CtrlP: