Update readme
This commit is contained in:
parent
ba7c2048a2
commit
9749ee2695
@ -12,23 +12,23 @@ Full path fuzzy __file__, __buffer__, __mru__ and __tag__ finder for Vim.
|
|||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
* Press `<c-p>` or run `:CtrlP` to invoke CtrlP in find file mode.
|
* 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:
|
Once CtrlP is open:
|
||||||
|
|
||||||
* Press `<c-f>` and `<c-b>` to switch between find file, buffer, and MRU file
|
* Press `<c-f>` and `<c-b>` to switch between find file, buffer, and MRU file
|
||||||
modes.
|
modes.
|
||||||
* Press `<c-d>` to switch to filename only search instead of full path.
|
* 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.
|
* 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 Vim’s 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
|
* End the input string with a colon `:` followed by a command to execute after
|
||||||
opening the file.
|
opening the file.
|
||||||
e.g. `abc:45` will open the file matched the pattern and jump to line 45.
|
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
|
* Submit two dots `..` as the input string to go backward the directory tree by
|
||||||
1 level.
|
1 level.
|
||||||
* Use `<c-y>` to create a new file and its parent dirs.
|
* 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
|
## Basic Options
|
||||||
* Change the mapping to invoke CtrlP:
|
* Change the mapping to invoke CtrlP:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user