From 5f1a5d264aac36d3b943956de8033ef7abc2e14c Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 8 Sep 2018 21:28:22 -0400 Subject: 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 --- src/nvim/digraph.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 }, // ¢ -- cgit