I found a handy tip, for executing a string under the cursor, in mswindows by using this mapping:

:silent !start rundll32 url.dll,FileProtocolHandler <cWORD> <CR>

This should call a dll file which knows whether to launch a browser, an email client, a wordprocessor etc. depending on the content of the string.

But when I try this mapping with an html string like www.google.com, vim
addes extra characters to the www.google.com string. They appear too fast for me to capture, but include things like %20 which appear to be instructions to a terminal like xterm. My term for gvim is set to builtin_gui which seems to work Ok. I tried setting it to win32 but got garbage.

How do I prevent extra characters from being added to my string with <cWORD>?

--
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

Reply via email to