Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

CtrlP does not open if last error was E11 #531

wilywampa opened this Issue Feb 19, 2014 · 0 comments


None yet
1 participant

If I open a command window (search or command history) and try a window command (e.g. <C-w>p) I get an E11 error from Vim as expected. If I try to open CtrlP after that, it does nothing because it thinks it's in a command window. This happens because ctrlp#init calls s:iscmdwin which is supposed to not allow CtrlP to open if currently in a command window, but it is fooled if the last error before attempting to open CtrlP was an E11.

Temporary work-around is to map :let v:errmsg=""<CR>:<C-u>CtrlP<CR>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment