Skip to content

Conversation

@Kris2k
Copy link

@Kris2k Kris2k commented May 5, 2014

PrtInsert can be mapped to insert clipboard or some register.
This extends PrtInsert to support insert any register (e.g "b
register).
Rationale: I mostly use " (unnamed register for work) so now
let g:ctrlp_prompt_mappings = {
    \ 'PrtInsert("r\"")': ['<c-u>'],
    \ }
will work.
( when user enters c-u the content of unnamed register is entered)

@d11wtq
Copy link

d11wtq commented Aug 8, 2014

Moved to ctrlpvim#13

    PrtInsert can be mapped to insert clipboard or some register.
    This extends PrtInsert to support insert any register (e.g "b
    register).
    Rationale: I mostly use " (unnamed register for work) so now
    let g:ctrlp_prompt_mappings = {
        \ 'PrtInsert("r\"")': ['<c-u>'],
        \ }
    will work.
    ( when user enters c-u the content of unnamed register is entered)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants