Skip to content

Commit bbec3f5

Browse files
tacahiroytimfeirg
authored andcommitted
Fix #520
To fix expression in the help doc for more clarity.
1 parent 4a5de44 commit bbec3f5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

autoload/ctrlp/mixed.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fu! s:getnewmix(cwd, clim)
6565
cal sort(g:ctrlp_lines, 'ctrlp#complen')
6666
en
6767
" remove duplicates from the final result set
68-
let g:ctrlp_lines=filter(copy(g:ctrlp_lines), 'index(g:ctrlp_lines, v:val, v:key+1)==-1')
68+
let g:ctrlp_lines=filter(copy(g:ctrlp_lines), 'index(g:ctrlp_lines, v:val, v:key+1)==-1')
6969
let g:ctrlp_allmixes = { 'filtime': getftime(ctrlp#utils#cachefile()),
7070
\ 'mrutime': getftime(ctrlp#mrufiles#cachefile()), 'cwd': a:cwd,
7171
\ 'bufs': len(ctrlp#mrufiles#bufs()), 'data': g:ctrlp_lines }

doc/ctrlp.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,13 +1107,13 @@ c) End the string with a colon ':' followed by a Vim command to execute that
11071107

11081108
See also: Vim's |++opt| and |+cmd|.
11091109

1110-
d) Submit two dots '..' to go upward the directory tree by 1 level. To go up
1110+
d) Input two dots '..' and then hit the <Enter> key to go upward the directory tree by 1 level. To go up
11111111
multiple levels, use one extra dot for each extra level:
11121112
>
11131113
Raw input Interpreted as
1114-
.. ../
1115-
... ../../
1116-
.... ../../../
1114+
..<Cr> ../
1115+
...<Cr> ../../
1116+
....<Cr> ../../../
11171117
<
11181118
Note: if the parent directories are large and uncached, this can be slow.
11191119

0 commit comments

Comments
 (0)