No way to open a file in a vertical split in the same window on <cr> #534

sheki opened this Issue Feb 26, 2014 · 2 comments

3 participants


I love CtrlP. My workflow is

<type file name and select>
<c-v> # Ctrl+V

Instead I would like to configure CtrlP to open the file in a new buffer on <cr> / Enter


If my understanding is correct this config works for you:

let g:ctrlp_prompt_mappings = {
  \ 'AcceptSelection("e")': ['<C-e>'],
  \ 'AcceptSelection("v")': ['<Cr>']
\ }

this works thanks a ton.

@kien kien closed this Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment