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

Closed
sheki opened this Issue Feb 26, 2014 · 2 comments

3 participants

@sheki

I love CtrlP. My workflow is

:CtrlP 
<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

@tacahiroy

If my understanding is correct this config works for you:

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

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