Skip to content

Commit 49b60bd

Browse files
committed
Use the first mode in g:ctrlp_types as the default.
1 parent 11e6c71 commit 49b60bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/ctrlp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let [g:ctrlp_lines, g:ctrlp_allfiles, g:ctrlp_alltags, g:ctrlp_alldirs,
1717
if !exists('g:ctrlp_map') | let g:ctrlp_map = '<c-p>' | en
1818
if !exists('g:ctrlp_cmd') | let g:ctrlp_cmd = 'CtrlP' | en
1919

20-
com! -n=? -com=dir CtrlP cal ctrlp#init('fil', { 'dir': <q-args> })
20+
com! -n=? -com=dir CtrlP cal ctrlp#init(0, { 'dir': <q-args> })
2121
com! -n=? -com=dir CtrlPMRUFiles cal ctrlp#init('mru', { 'dir': <q-args> })
2222

2323
com! -bar CtrlPBuffer cal ctrlp#init('buf')

0 commit comments

Comments
 (0)