Hi Tony! On Sun, 15 Feb 2009, Tony Mechelynck wrote:
[enter digraphs] > - I have the digraphs I use most committed to memory, for instance > -M (dash big-em) for — "em dash". So you must eventually haved scanned the digraphs manually? As I said, that is awkward within an utf-8 environment (I have currently 1323 digraphs defined). > - I check the |digraphs-default| help item for those listed there, for > instance I hadn't remembered how to produce "Greek" letters, and I > needed some a few minutes ago: that helptag told me it was a star > postfix. (Most of the various kinds of Latin accented chazracters can be > produced by the various dead-key and AltGr combinations of my Belgian > keyboard; I don't need much the few that aren't but it isn't very hard > to remember e.g. semicolon=ogonek.) > - I have maybe two or three owncoded digraphs in my vimrc, e.g. ,: > (comma colon) for … "horizontal ellipsis": these appear at the very end > of the ":digraphs" listing, so if I ever forget them I can get them back > either there or, of course, in my vimrc. Yes, I added ellipsis, too (using .3, since in the default .3 is not visible on my terminal or has no letter assigned with my current font). > - If I know the Unicode decimal value, I can look it up directly; if I > know the hex value, I first convert it to decimal using Vim: > > :echo 0x123 > 291 > > (standard digraphs are listed in ascending order of Unicode codepoint > number, and the number is listed in decimal). But I do this only when I > think it'll be useful to commit that particular digraph to memory, see > last bullet below. > - For the non-Latin alphabets present on my homesite frontpage (Cyrillic > and Arabic), I have owncoded "phonetic" keymaps (keymaps where keys are > remapped by sound similarity, not by location on that language's usual > keyboard), with a few dead-key and conventional-pairing conventions > where there is no direct sound match, or duplicate matches, so e.g. I > can type Здравствуйте (zdrastvuytye "hello") by hitting Zdravstvujte, or > السلام عليكم (as-salaamu `alaykum "peace upon you") by hitting alslam > elykm, in both cases after setting the appropriate keymap. > - For characters which I rarely need and which have no preset digraph > (such as the majority of CJK characters), I use the |i_CTRL-V_digit| > method directly, typing the Unicode codepoint in hex as ^Vuxxxx until > U+FFFF, or ^VUxxxxx after that (where the x's represent hex digits) -- > if necessary, after looking them up at > http://www.unicode.org/charts/charindex.html (the Unicode Character Index). ok, so digraphs are not the best method for writing longer sets of characters. For me, I like the use of digraphs (since I use them only occasionally), I just dislike the way how to find the character you are looking for regards, Christian -- hundred-and-one symptoms of being an internet addict: 117. You are more comfortable typing in html. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
