On Tue, 5 Mar 2013, Fabien Meghazi wrote:

On Thu, Feb 28, 2013 at 3:37 PM, Kent <[email protected]> wrote:
I use FuzzyFinder for years. Recently I heard a lot about CtrlP. And gave it a try. It does have some good features over FF.

Cool ! Just discovered CtrlP with this post and I like it, especially the root path autodiscovery !

I'd like to change the default behaviour of <cr> in CtrlP shell in order to open in new tab instead of current window. I can't see an option for that in ctrlp.txt. Is it possible ?

Yes.  Here's what you're asking for (put it in your .vimrc):

let g:ctrlp_prompt_mappings = {
  \ 'AcceptSelection("t")': ['<cr>'],
\ }

See: :help 'g:ctrlp_prompt_mappings'

--
Best,
Ben

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to