aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-08 21:28:22 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-08 21:29:47 -0400
commit5f1a5d264aac36d3b943956de8033ef7abc2e14c (patch)
treec81ca6ea4ab1759dd8459e4f58ca3774c3a903fb
parent50eadfe2e991a0bb5fe0f98377d91702f0a20492 (diff)
downloadrneovim-5f1a5d264aac36d3b943956de8033ef7abc2e14c.tar.gz
rneovim-5f1a5d264aac36d3b943956de8033ef7abc2e14c.tar.bz2
rneovim-5f1a5d264aac36d3b943956de8033ef7abc2e14c.zip
vim-patch:8.0.0749: some unicode digraphs are hard to remember
Problem: Some unicode digraphs are hard to remember. Solution: Add alternatives with a backtick. (Chris Harding, closes vim/vim#1861) https://github.com/vim/vim/commit/816e7660e1efb918ad85b5c78d21b957d1bcad17
-rw-r--r--src/nvim/digraph.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c
index c0915224e5..aa533edf6c 100644
--- a/src/nvim/digraph.c
+++ b/src/nvim/digraph.c
@@ -1359,6 +1359,12 @@ static digr_T digraphdefault[] =
{ 'f', 't', 0xfb05 },
{ 's', 't', 0xfb06 },
+ // extra alternatives, easier to remember
+ { 'W', '`', 0x1e80 },
+ { 'w', '`', 0x1e81 },
+ { 'Y', '`', 0x1ef2 },
+ { 'y', '`', 0x1ef3 },
+
// Vim 5.x compatible digraphs that don't conflict with the above
{ '~', '!', 161 }, // ¡
{ 'c', '|', 162 }, // ¢