Hi!
On Mon, Dec 16, 2013 at 04:05:47AM +0100, Tony Mechelynck wrote:
> >> Like it is said under :help 'esckeys', try the following:
> >>
> >> :set esckeys timeout timeoutlen=5000 ttimeoutlen=100
>
> If 'esckeys' makes a difference, then there is some keycode starting
> with <Esc> that gives a problem. So what does the terminal send to mean
> U+2713 has been sent? Apparently ignoring the possibility that a
> multibyte keycode might start with <Esc> makes a difference. (This might
> require starting the terminal in 8bit-meta mode, see :help map-alt-key).
I've just tried it - doesn't helps.
In urxvt maillist someone recommends me to enable "ISO 14755 support" in
urxvt and check which fonts it use for rendering selected symbol. It turns
out normally it use:
---cut---
col 0 row 0 @0
2713 = ✓
003c1206 = fg 9 bg 6 careful
Bitstream Vera Sans
Mono:slant=0:weight=200:pixelsize=32:antialias=False:autohint=True:minspace=Tr
---cut--
(tail of font definition line doesn't fit into my terminal window)
but when 'esckeys' set in vim it use this instead:
---cut---
col 0 row 0 @0
2713 = ✓
003c1206 = fg 9 bg 6 careful
:slant=0:weight=200:pixelsize=32:antialias=False:autohint=True:minspace=True:lang=ja
---cut--
And this issue (losing font name) really happens for "U2713 CHECK MARK"
and doesn't happens for "U2714 HEAVY CHECK MARK"!
Recommended (and working!) work around was to use in ~/.Xdefaults this:
URxvt*font: xft:MyFontName:style=Bold:size=16,xft:DejaVu Sans Mono
instead of this:
URxvt*font: xft:MyFontName:style=Bold:size=16
i.e. manually define next font which urxvt should use for symbols absent
in default font instead of using font auto-selected by urxvt.
This work around is much better than using `set noesckeys`, so problem is
solved for me. But it still unclear is it vim bug or urxvt bug and why it
happens for CHECK MARK and not HEAVY CHECK MARK.
--
WBR, Alex.
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.