tkmap.h: add digraphs for vowels (plus y) with macrons - neatvi - [fork] simple vi-type editor with UTF-8 support
 (HTM) git clone git://src.adamsgaard.dk/neatvi
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 9dc503d43138d509a65cda2a7912724d9c0d8e15
 (DIR) parent 084f80f48593acb03934dc61631b045ca5c65026
 (HTM) Author: Peter Aronoff <telemachus@arpinum.org>
       Date:   Fri, 26 Jun 2015 16:02:21 -0400
       
       kmap.h: add digraphs for vowels (plus y) with macrons
       
       Some Latin texts (and those in other languages) distinguish long from short
       vowels by means of a macron. E.g., a long 'a' sound is "ā" and a short one is
       "a". This patch adds supports for these via "vowel-", which is easy to remember
       and see on the keyboard.
       
       Diffstat:
         M kmap.h                              |      12 ++++++++++++
       
       1 file changed, 12 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/kmap.h b/kmap.h
       t@@ -154,6 +154,7 @@ static char *digraphs[][2] = {
                {"A'", "Á"},
                {"A^", "Â"},
                {"A~", "Ã"},
       +        {"A-", "Ā"},
                {"A:", "Ä"},
                {"A\"", "A:"},
                {"A*", "Å"},
       t@@ -162,10 +163,12 @@ static char *digraphs[][2] = {
                {"E`", "È"},
                {"E'", "É"},
                {"E^", "Ê"},
       +        {"E-", "Ē"},
                {"E:", "Ë"},
                {"I`", "Ì"},
                {"I'", "Í"},
                {"I^", "Î"},
       +        {"I-", "Ī"},
                {"I:", "Ï"},
                {"D-", "Ð"},
                {"N~", "Ñ"},
       t@@ -173,6 +176,7 @@ static char *digraphs[][2] = {
                {"O'", "Ó"},
                {"O^", "Ô"},
                {"O~", "Õ"},
       +        {"O-", "Ō"},
                {"O:", "Ö"},
                {"xx", "×"},
                {"mu", "×"},
       t@@ -180,6 +184,7 @@ static char *digraphs[][2] = {
                {"U`", "Ù"},
                {"U'", "Ú"},
                {"U^", "Û"},
       +        {"U-", "Ū"},
                {"U:", "Ü"},
                {"Y'", "Ý"},
                {"TH", "Þ"},
       t@@ -187,6 +192,7 @@ static char *digraphs[][2] = {
                {"a`", "à"},
                {"a'", "á"},
                {"a^", "â"},
       +        {"a-", "ā"},
                {"a~", "ã"},
                {"a:", "ä"},
                {"a*", "å"},
       t@@ -196,9 +202,11 @@ static char *digraphs[][2] = {
                {"e'", "é"},
                {"e^", "ê"},
                {"e:", "ë"},
       +        {"e-", "ē"},
                {"i`", "ì"},
                {"i'", "í"},
                {"i^", "î"},
       +        {"i-", "ī"},
                {"i:", "ï"},
                {"d-", "ð"},
                {"n~", "ñ"},
       t@@ -206,6 +214,7 @@ static char *digraphs[][2] = {
                {"o'", "ó"},
                {"o^", "ô"},
                {"o~", "õ"},
       +        {"o-", "ō"},
                {"o:", "ö"},
                {"di", "÷"},
                {"-:", "÷"},
       t@@ -213,8 +222,10 @@ static char *digraphs[][2] = {
                {"u`", "ù"},
                {"u'", "ú"},
                {"u^", "û"},
       +        {"u-", "ū"},
                {"u:", "ü"},
                {"y'", "ý"},
       +        {"y-", "ȳ"},
                {"th", "þ"},
                {"y:", "ÿ"},
                {"C<", "Č"},
       t@@ -236,6 +247,7 @@ static char *digraphs[][2] = {
                {"U\"", "Ű"},
                {"u\"", "ű"},
                {"Y:", "Ÿ"},
       +        {"Y-", "Ȳ"},
                {"Z<", "Ž"},
                {"z<", "ž"},
                {"fn", "ƒ"},