Update docs

This commit is contained in:
Kien N 2012-08-09 07:51:55 +07:00
parent a3dbd8c519
commit 4b6670afac
2 changed files with 6 additions and 5 deletions

View File

@ -165,7 +165,7 @@ variable: >
c - the directory of the current file.
r - the nearest ancestor that contains one of these directories or files:
.git .hg .svn .bzr _darcs
{empty-string} - don't manage working directory.
0 or [empty-string] - don't manage working directory.
Note #1: you can use b:ctrlp_working_path_mode (a |b:var|) to set this option
on a per buffer basis.

View File

@ -33,6 +33,7 @@ Run `:help ctrlp-mappings` or submit `?` in CtrlP for more mapping help.
* End the input string with a colon `:` followed by a command to execute it on the opening file(s):
Use `:25` to jump to line 25.
Use `:/any\:\ string` to jump to the first instance of `any: string`.
Use `:+setf\ myfiletype|25` to set the filetype to myfiletype, then jump to line 25.
Use `:difft` when opening multiple files to run `:difft` on the first 4 files.
## Basic Options
@ -49,10 +50,10 @@ Use `:difft` when opening multiple files to run `:difft` on the first 4 files.
let g:ctrlp_working_path_mode = 'rc'
```
`{empty-string}` - don't manage working directory.
`c` - the directory of the current file.
`r` - the nearest ancestor that contains one of these directories or files:
`'c'` - the directory of the current file.
`'r'` - the nearest ancestor that contains one of these directories or files:
`.git` `.hg` `.svn` `.bzr` `_darcs`
`0` or `''` (empty string) - don't manage working directory.
Define additional root markers with the `g:ctrlp_root_markers` option.