question for CtrlP users

I have ctrl-p mapped to open file from the filesystem. I want to map ctrl-y to open a buffer that is already opened.

how should I change my vimrc? does anyone know?


1 Answer 1


this one works for me

nnoremap <silent> <C-y> :CtrlPBuffer<CR>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.