Marvin Renich wrote: > * 'Guyzmo' via vim_use <[email protected]> [160219 10:10]: > > or you can directly use the digraph: `<C-k>Sb` which outputs: `∙`. From > > `:he digraph`: > > > > ∙ Sb 2219 8729 BULLET OPERATOR > > > > or you could use the compose key feature (using Xorg or some hacks on > > OSX/Windows) to use one of your modifier keys to behave like <C-k> but > > throughout your system. > > On my system (Debian stretch) with locale en_US.UTF-8, Compose .= gives > the 0x2022 bullet (in the Unicode General Punctuation section; 2219 is > in the Mathematical Operators section). The fact that the vim digraph > uses a different bullet is obviously a historical artifact. Perhaps .= > could be added to the digraph table to match the X Compose sequence > (i.e. with 2022 rather than 2219).
The Vim digraphs come from RFC 1345. It does not list 2022. I don't see an update to this standard. Where does Debian get it's digraphs? Is there another standard? The .= digraph is currently unused, we could add it for 2022. But is that the only one missing? > > http://www.linuxhowtos.org/Tips%20and%20Tricks/compose.htm > > On Debian, the correct place to set your compose key is in > /etc/default/keyboard. It will then work in a text console (e.g. > Alt-Ctrl-F1) as well as in X. Add a line like: > > XKBOPTIONS="compose:rwin" > > Editing xorg.conf, as suggested in the above page, may be necessary on > systems that don't have the equivalent of the Debian console-setup > package, but then it won't work in a text console. > > > Since I have that, I'm having a lot of fun featuring any text I type > > with unicode characters like: →, ⇒, •, ☺, ① ② …, — or even the > > non-secable space ` `. I've also added a few ones just for the fun: > > 🍻 , 🐦 or 🖕 :-) > > Where do you get a list of Compose sequences? The above page is > out-of-date (and doesn't have any indication of when it was written :-P) > so it's suggestion of /usr/X11R6/lib/X11/... is wrong. On my system, it > is in /usr/share/X11/locale/..., but the Compose file for my locale only > has a few entries, and there are many more combinations that work. I > haven't found any way to get the complete list of combinations. > > Thanks...Marvin -- Veni, Vidi, Video -- I came, I saw, I taped what I saw. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
