fix readme
This commit is contained in:
parent
48c91d85fc
commit
ba935d9ea4
17
readme.md
17
readme.md
@ -8,17 +8,12 @@ Full path fuzzy file and buffer finder for Vim.
|
||||
|
||||
## Basic Usage
|
||||
* Press `<c-p>` or run `:CtrlP` to invoke CtrlP.
|
||||
* Ever remember only a file’s name but not where it is?
|
||||
Press `<c-d>` while CtrlP is open to switch to filename only search.
|
||||
Press `<c-d>` again to switch back to full path search.
|
||||
* Use `*` `?` `^` `+` or `|` in the prompt to submit the string as a Vim’s
|
||||
regexp pattern.
|
||||
Or press `<c-r>` to switch to full regexp mode.
|
||||
* End the input string with a colon `:` followed by a number to jump to that
|
||||
line in the selected file.
|
||||
* Ever remember only a file’s 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 Vim’s regexp pattern.
|
||||
* Press `<c-r>` to switch to full regexp mode.
|
||||
* 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.
|
||||
* Press `<c-f>` to toggle find buffer mode/find file mode while CtrlP is open.
|
||||
Run `:CtrlPBuffer` to start CtrlP in find buffer mode.
|
||||
* Press `<c-f>` to toggle find buffer mode/find file mode while CtrlP is open.
|
||||
|
||||
_Screenshot: filename only mode with the match window focused._
|
||||
![ctrlp filename mode, match window focused][2]
|
||||
@ -35,7 +30,7 @@ to this variable:
|
||||
let g:ctrlp_working_path_mode = 1
|
||||
```
|
||||
|
||||
0 - don’t manage working directory.
|
||||
0 - don’t manage working directory.
|
||||
1 - the parent directory of the current file.
|
||||
2 - the nearest ancestor that contains one of these directories or files:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user