Sunday, December 26, 2021

GVIM replace from clipbrard?

I use VIM on various *NIX platforms.

I use GVIM on various MS Windows hosts.

I often do this:
1. Copy a string to the clipboard
2. Visual mode select a string
3. :s/<type a string to be replaces>/<Ctrl-v the clipboard string>/g
4. Enter - replace all substrings

This works delightfully everywhere - EXCEPT on Windows host!

On that host, Ctrl-v pastes the entire Visual Mode selection - NOT the originally copied string!

I'm sure that I've got something in that host's VIMRC; but, what is it?

This has been plaguing me for months ...

Please, advise. Thank you.

~ Mike

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/a0f3be33-731a-4d13-8ccd-a9f4ca311f60n%40googlegroups.com.

No comments:

Post a Comment