You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,10 +50,11 @@ Use `:diffthis` when opening multiple files to run `:diffthis` on the first 4 fi
50
50
let g:ctrlp_working_path_mode = 'ra'
51
51
```
52
52
53
-
`'c'` - use the parent directory of the current file.
54
-
`'a'` - use the parent directory of the current file if it is not a descendant of the current working directory outside of CtrlP.
55
-
`'r'` - use the nearest ancestor of the current file that contains one of these markers: `.git` `.hg` `.svn` `.bzr` `_darcs`
56
-
`0` or `''` (empty string) - use the current working directory outside of CtrlP.
53
+
`'c'` - the directory of the current file.
54
+
`'a'` - the directory of the current file, unless it is a subdirectory of the cwd
55
+
`'r'` - the nearest ancestor of the current file that contains one of these directories or files: `.git` `.hg` `.svn` `.bzr` `_darcs`
56
+
`'w'` - modifier to "r": start search from the cwd instead of the current file's directory
57
+
`0` or `''` (empty string) - disable this feature.
57
58
58
59
If none of the default markers (`.git` `.hg` `.svn` `.bzr` `_darcs`) are present in a project, you can define additional ones with `g:ctrlp_root_markers`:
0 commit comments