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.
1 parent 730bffd commit 5afcb95Copy full SHA for 5afcb95
autoload/ctrlp/cmdpalette.vim
@@ -98,6 +98,8 @@ endfunction
98
func! ctrlp#cmdpalette#accept(mode, str)
99
call ctrlp#exit()
100
redraw
101
+ let g:ctrlp_open_mode = a:mode
102
+ let g:ctrlp_open_cmd = a:str
103
call feedkeys(':', 'n')
104
call feedkeys(split(a:str, '\t')[0], 'n')
105
if a:mode == 'e' && g:ctrlp_cmdpalette_execute == 1
0 commit comments