Skip to content

Commit 6c883ba

Browse files
authored
Merge pull request #299 from blueyed/doc-CtrlPCurFile-CtrlPCurWD
Document :CtrlPCurFile and :CtrlPCurWD
2 parents 59aacac + 81b1cbd commit 6c883ba

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

doc/ctrlp.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,14 +861,25 @@ COMMANDS *ctrlp-commands*
861861
Open CtrlP in find file mode.
862862

863863
If no argument is given, the value of |g:ctrlp_working_path_mode| will be
864-
used to determine the starting directory.
864+
used to determine the starting directory. See |:CtrlPCurFile| and
865+
|:CtrlPCurWD| to temporarily override the setting.
865866

866867
You can use <tab> to auto-complete the [starting-directory] when typing it.
867868

868869
*:CtrlPBuffer*
869870
:CtrlPBuffer
870871
Open CtrlP in find buffer mode.
871872

873+
*:CtrlPCurFile*
874+
:CtrlPCurFile
875+
This acts like |:CtrlP| with |g:ctrlp_working_path_mode| = '' and ignores
876+
the variable's current value.
877+
878+
*:CtrlPCurWD*
879+
:CtrlPCurWD
880+
This acts like |:CtrlP| with |g:ctrlp_working_path_mode| = '' and ignores
881+
the variable's current value.
882+
872883
*:CtrlPMRU*
873884
:CtrlPMRU
874885
Open CtrlP in find Most-Recently-Used file mode.

0 commit comments

Comments
 (0)