Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend PrtInsert to support multi character action #568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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