Loading ...
Sorry, an error occurred while loading the content.

Re: Feature request - Paste from Mac OS clipboard in replace mode

Expand Messages
  • DanM
    ... Yes, that s exactly what I was looking for! Thanks alot for pointing this out Niklas! I just didn t think of registers, and I had never used the * register
    Message 1 of 4 , Nov 9, 2010
    • 0 Attachment
      On Nov 8, 11:10 pm, Niklas Lindström <lindstr...@...> wrote:
      >
      > On Mon, Nov 8, 2010 at 4:01 PM, DanM <danmicha...@...> wrote:
      >
      > > When pasting text from the Mac OS clipboard, it seems like MacVim
      > > always go into insert mode.
      > > Would it be possible, if already in replace mode, to remain in replace
      > > mode while pasting the text?
      >
      > I suppose you use <D-V> to paste from the clipboard here? Try using
      > the register * instead (:help "*). With registers, you can yank and
      > paste using regular Vim behavior. Specifically in insert and replace
      > mode, use <C-R>* (:help i_CTRL-R). I hope that's what you're looking
      > for.

      Yes, that's exactly what I was looking for! Thanks alot for pointing
      this out Niklas!
      I just didn't think of registers, and I had never used the * register
      before.

      Dan Michael

      --
      You received this message from the "vim_mac" 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
    • Niklas Lindström
      ... Happy to help! :) Cheers, Niklas -- You received this message from the vim_mac maillist. Do not top-post! Type your reply below the text you are replying
      Message 2 of 4 , Nov 9, 2010
      • 0 Attachment
        On Tue, Nov 9, 2010 at 5:29 PM, DanM <danmichaelo@...> wrote:
        >
        >> I suppose you use <D-V> to paste from the clipboard here? Try using
        >> the register * instead (:help "*). With registers, you can yank and
        >> paste using regular Vim behavior. Specifically in insert and replace
        >> mode, use <C-R>* (:help i_CTRL-R). I hope that's what you're looking
        >> for.
        >
        > Yes, that's exactly what I was looking for! Thanks alot for pointing
        > this out Niklas!
        > I just didn't think of registers, and I had never used the * register
        > before.

        Happy to help! :)

        Cheers,
        Niklas

        --
        You received this message from the "vim_mac" 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
      Your message has been successfully submitted and would be delivered to recipients shortly.