Vim: Windows clipboard paste

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Vim: Windows clipboard paste

Chris Willis
Hi
 
I’m new to this group, so hope I get things right.
 
I have been in the habit of using right click to insert text from the clipboard. I am almost invariably in a DOS window.
 
It turns out that certain characters (some, maybe all) \x80-\x9f get translated on the fly to escape sequences. If the attempt is to input the clipboard material this fails at the first escape sequence.
 
It turns out that Vim has an alternative “*P which seems to work (delivering the codes with the high bit set rather than the escape sequences). The right click works in the GUI Vim.
 
I also built myself a getclip, which outputs the clipboard material to STDOUT, which can be piped or redirected.
 
regards – Chris Willis

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/79476243E7F64BA8BE06D86C93F98330%40ChrisPCW7.