parent
418a22859c
commit
420174fc53
@ -1324,11 +1324,11 @@ fu! s:walker(max, pos, dir)
|
||||
endf
|
||||
|
||||
fu! s:matchfname(item, pat)
|
||||
retu match(split(a:item, '[\/]\ze[^\/]\+$')[-1], a:pat)
|
||||
retu match(split(a:item, s:lash)[-1], a:pat)
|
||||
endf
|
||||
|
||||
fu! s:matchtab(item, pat)
|
||||
retu match(split(a:item, '\t\+[^\t]\+$')[0], a:pat)
|
||||
retu match(split(a:item, '\t\+')[0], a:pat)
|
||||
endf
|
||||
|
||||
fu! s:maxf(len)
|
||||
|
@ -297,15 +297,15 @@ If non-zero, this will enable opening multiple files with <c-z> and <c-o>: >
|
||||
<
|
||||
For the number:
|
||||
- If bigger than 1, it’ll be used as the maximum number of windows or tabs to
|
||||
create when opening the files, the rest will be hidden buffers.
|
||||
create when opening the files (the rest will be hidden buffers).
|
||||
- If is 1, <c-o> will open all files, each in a new window or new tab.
|
||||
- If no number is given, only the first file will be opened in a window,
|
||||
either new window or reused, and the rest will be hidden buffers.
|
||||
For the letter:
|
||||
t - each in a tab
|
||||
h - each in a horizontal split
|
||||
v - each in a vertical split
|
||||
Reuse the current window:
|
||||
For the letters:
|
||||
t - each in a new tab
|
||||
h - each in a new horizontal split
|
||||
v - each in a new vertical split
|
||||
Reuse the current window:
|
||||
tr,
|
||||
hr,
|
||||
vr - open the first file in the current window, then the remaining files in
|
||||
@ -322,8 +322,8 @@ Pressing <c-o> or <c-y> will then prompt for a keypress. The key can be:
|
||||
v - open in vertical split(s)
|
||||
r - open in current window (for <c-y> only)
|
||||
<esc>, <c-c> - cancel and go back to |CtrlP|
|
||||
Any other key - use the default behavior specified by |g:ctrlp_open_new_file|
|
||||
and |g:ctrlp_open_multi|.
|
||||
Any other key - use the behavior specified with |g:ctrlp_open_new_file| and
|
||||
|g:ctrlp_open_multi|.
|
||||
|
||||
*'g:ctrlp_dont_split'*
|
||||
When opening a file with <cr>, |CtrlP| avoids opening it in windows created by
|
||||
|
Loading…
Reference in New Issue
Block a user