Skip to content

Commit dcbdac0

Browse files
committed
Don't call the command, just type it and wait for user input
1 parent 045e604 commit dcbdac0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoload/ctrlp/cmdpalette.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ endfunction
6767
" a:str the selected string
6868
func! ctrlp#cmdpalette#accept(mode, str)
6969
call ctrlp#exit()
70-
silent execute ':'.a:str
70+
call feedkeys(':')
71+
call feedkeys(a:str)
7172
endfunc
7273

7374

0 commit comments

Comments
 (0)