Wednesday, December 9, 2015

Re: I have a dream, about pseudocoding support

On Wed, Dec 9, 2015 at 6:16 PM, Paul <paul.domaskis@gmail.com> wrote:
> On Wednesday, December 9, 2015 at 11:43:01 AM UTC-5, DrChip wrote:
[...]
>> If you happen to be using utf-8, you might want to use \u2502
>> instead of a |.
>
> Hmmm... That looks way better than the vertical bar on the keyboard.
> Unfortunately, it seems to have compatibility problems when dealing
> with other apps in a cygwin/Xwindows/Windows7 environment. For
> example, it doesn't succesfully transfer into the cut/paste buffer in
> a way that allows to be transferred to Windows (register * or
> register +). It won't paste into this grouples composition window,
> nor into even notepade. However, it successfully transfers into
> those registers for asting within another vim buffer.
>
It's been a long time since I left Windows, but can you set some
Unicode locale in your "local settings"? I think it means "codepage
10646" or "codepage 106461" — or something equally weird. With that
kind of setting, it ought to be possible for Windows to transfer the
U+2502 codepoint correctly via the clipboard — if both the sender and
the receiver of the data know which clipboard flavour to use.

Within a single Vim instance, there is no such problem, because Vim
doesn't need the clipboard (registers + and * which are different on
X11 and identical elsewhere); it uses its own registers (usually
register "). As long as you use UTF-8 (or GB18030) as 'encoding', any
Unicode character can be represented in Vim memory and transfered
around by yank/delete/put (which are, of course, the "Vim names" for
copy/cut/paste).


Best regards,
Tony.

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

Post a Comment