[Alpine-info] Re: Insert pound sign [pico vs vim][gucharmap]
Joe(theWordy)Philbrook
jtwdyp at ttlc.net
Tue Apr 12 10:35:21 PDT 2011
It would appear that on Apr 12, Joe(theWordy)Philbrook did say:
> In another reply, ‘Jeff Bastian’ told me about vim's:help digraph
> page which includes a table of input codes with around the same level of detail.
> And that vim includes an ^k input mode key that works similar to that
> Multi_key you described. Worthy of note however, that
> particular BULLET character seems to be missing from vim's digraph table.
> Incidentally I happened to remember that midnight commanders built in editor
> «which I rarely use» displays the decimal value of the character under the
> cursor. So I learned that particular bullet is «character 8226» and Vim's
> chart skips from 8225 to 8229. «wonder why...» But Most any character I
> could possibly want is there and since the only time I'd want to insert
> them I'd be in vim anyway, I think I'll use ^k most of the time. And if I
> really want that durned bullet, I can enable a "compose" key and use that
> instead...
>
> •It seems that ^k and a Multi_key can coexist in the same vim session. ☺ )
And odd thing though. Maybe it's an ‘Arch Linux’ thing... But when it comes
to setting up a ‘compose key’ for Multi_key, a google search led me to:
http://www.linuxhowtos.org/Tips%20and%20Tricks/compose.htm
Which describes how to set the win key om the right side of the keyboard as
the ‘compose key. Both by editing the xorg.conf and restarting the X server,
and a temporary method using this command line:
setxkbmap -model pc104 -layout us -option compose:rwin
The odd thing is the xorg.conf method didn't work. not even after a full
reboot... Yet the setxkbmap command works like a charm...
But that's OK. I'm more likely to use vim's embedded ^k function «most of
the time» And when I want the actual Multi_key compose to work, I now have
a one-line script in my ~/bin consisting of that setxkbmap command...
--
| --- ___
| <0> <-> Joe (theWordy) Philbrook
| ^ J(tWdy)P
| ~\___/~ <<jtwdyp at ttlc.net>>
More information about the Alpine-info
mailing list