Thursday, August 3, 2017

Re: Changing Word with Yanked Word

On 03.08.17 06:58, Michael Henry wrote:
> I frequently use visual mode to select the word, then paste over
> the selection from register 0. Usually I don't want the
> behavior of ``dw`` because that removes trailing spaces and I
> typically have yanked only the replacement word (without
> trailing spaces),

Self-evidently, if de is used instead of dw to capture the replacing
word, then the same is used in the replacement action. But the OP did
state that he used dw.

Erik

--
--
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/d/optout.

No comments: