Friday, March 29, 2013

Re: Register overwritten only when clipboard=unnamed

I am trying to copy & paste a word under the cursor.
Typing yip in normal mode will yank a word at the current cursor position.
Move the cursor somewhere else and type viwp then you will paste the yanked word.
 
I investigated this a little bit and found it's related to guioptions=+a.
 
Thanks
 
 
보낸 사람: Christian Brabandt
보낸 날짜: ‎2013‎년 ‎3‎월 ‎29‎일 ‎금요일 ‎오후‎ ‎9‎:‎06
받는 사람: vim_use@googlegroups.com
 
Hi PARK,!

On Do, 28 Mär 2013, 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.

vip followed by yiw does not make sense. Please be more specific.
What exactly did you do, what do you expect and what happens?

Oh, and what Vim version are you using?

regards,
Christian
--
Hallo Birkenstockträger!

--
--
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@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


No comments: