Monday, July 25, 2022

Re: vim with gui in windows

Thanks Gary, nice workaround! Just "y" is enough because I have "set clipboard=unnamed" which copies to a clipboard by "y".
Mouse selection works although keyboard one has some problems. Keyboard selection might be also adjusted in a similar way but it is not so important for me.

Stan: "*y works but i'd like to copy to the clipboard only by selection.

Igor.


On Sun, 24 Jul 2022 at 17:21, Stan Brown <the_stan_brown@fastmail.fm> wrote:
On 2022-07-24 01:40, Igor Spiridonov wrote:
> I would like for example to have "Visual selection automatically copied
> to the clipboard." in windows as it is described here -
> https://vim.fandom.com/wiki/Easy_pasting_to_Windows_applications
> <https://vim.fandom.com/wiki/Easy_pasting_to_Windows_applications>.
> Console vim cannot provide it because it works only when gui is enabled.

Does "*y not work for you? It does for me, when running vim (not gvim)
in a command window in Windows 10. (I have actually mapped ^C
(control+C) to "*y so that Ctrl+C behaves the same in Windows GUI
applications and in command-prompt Vim.)

My Vim is 7.4, but Id be awfully surprised if that stopped working in
later versions.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com

--
--
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/89c4dffe-121f-99ac-9ec8-c01da3193778%40fastmail.fm.

--
--
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/CAHqUhqzCeOX3zF0Xr3JDXwfACK7H8DvooXWyuame1VBJcxxOaQ%40mail.gmail.com.

No comments:

Post a Comment