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

136957Re: Register overwritten only when clipboard=unnamed

Expand Messages
  • Gary Johnson
    Mar 29, 2013
      On 2013-03-28, PARK, Kyung-Kook wrote:
      > I am not sure whether or not this is an obscure side effect which
      > I can figure out. But when I set clipboard=unnamed, vip followed
      > by yiw does not operate in the way I expected - actually nothing
      > happens. It operates as expected I omit clipboard=unnamed from my
      > vimrc. In a normal situation, it must yank a word from the current
      > cursor position and paste it somewhere I want.

      I think you want to retain the behavior of "autoselect" in
      'clipboard', so rather than

      set clipboard=unnamed

      try either

      set clipboard=unnamed,autoselect

      or

      set clipboard^=unnamed

      HTH,
      Gary

      --
      --
      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 vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 11 messages in this topic