We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cmdheight=0
1 parent 3ce448c commit fa915cfCopy full SHA for fa915cf
1 file changed
autoload/ctrlp.vim
@@ -330,6 +330,7 @@ fu! s:Open()
330
endf
331
332
fu! s:Close()
333
+ if &cmdheight != 0 | set cmdheight=0 |en
334
cal s:async_glob_abort(0)
335
cal s:buffunc(0)
336
if winnr('$') == 1
@@ -1269,6 +1270,7 @@ fu! ctrlp#acceptfile(...)
1269
1270
cal call('s:openfile', args)
1271
let &swb = swb
1272
en
1273
1274
1275
1276
fu! s:SpecInputs(str)
@@ -2845,6 +2847,8 @@ fu! ctrlp#init(type, ...)
2845
2847
if shouldExitSingle && s:ExitIfSingleCandidate()
2846
2848
retu 0
2849
2850
+
2851
+ if &cmdheight == 0 | set cmdheight=1 | en
2852
cal s:BuildPrompt(1)
2853
if s:keyloop | cal s:KeyLoop() | en
2854
retu 1
0 commit comments