Skip to content

Commit 81b1cbd

Browse files
committed
Document :CtrlPCurFile and :CtrlPCurWD
1 parent 252f876 commit 81b1cbd

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
@@ -860,14 +860,25 @@ COMMANDS *ctrlp-commands*
860860
Open CtrlP in find file mode.
861861

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

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

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

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

0 commit comments

Comments
 (0)