diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-16 22:05:12 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-16 22:05:12 +0100 |
| commit | c25fbd33f2d06701d8673fec97081aa747da1d0f (patch) | |
| tree | d22cbac3e7ec1f89639490091bbbb478aeb4973f | |
| parent | db6c17982eca27f1cdf59d2c384615af89a3d81e (diff) | |
| download | vis-c25fbd33f2d06701d8673fec97081aa747da1d0f.tar.gz vis-c25fbd33f2d06701d8673fec97081aa747da1d0f.tar.xz | |
test/vis: add some tests for digraphs and verbatim insertion
| -rw-r--r-- | vis/insert-mode/digraph.in | 7 | ||||
| -rw-r--r-- | vis/insert-mode/digraph.keys | 7 | ||||
| -rw-r--r-- | vis/insert-mode/digraph.ref | 7 | ||||
| -rw-r--r-- | vis/insert-mode/verbatim.in | 20 | ||||
| -rw-r--r-- | vis/insert-mode/verbatim.keys | 32 | ||||
| -rw-r--r-- | vis/insert-mode/verbatim.ref | 20 | ||||
| -rwxr-xr-x | vis/test.sh | 1 |
7 files changed, 94 insertions, 0 deletions
diff --git a/vis/insert-mode/digraph.in b/vis/insert-mode/digraph.in new file mode 100644 index 0000000..fa3922e --- /dev/null +++ b/vis/insert-mode/digraph.in @@ -0,0 +1,7 @@ +digraphs +l* = +l* = +FA = +FA = +(- = +(- = diff --git a/vis/insert-mode/digraph.keys b/vis/insert-mode/digraph.keys new file mode 100644 index 0000000..960d086 --- /dev/null +++ b/vis/insert-mode/digraph.keys @@ -0,0 +1,7 @@ +/=<Enter> +a<Space><C-k>l*<Escape> +n.n +a<Space><C-k>FA<Escape> +n.n +a<Space><C-k>(-<Escape> +n. diff --git a/vis/insert-mode/digraph.ref b/vis/insert-mode/digraph.ref new file mode 100644 index 0000000..f56303a --- /dev/null +++ b/vis/insert-mode/digraph.ref @@ -0,0 +1,7 @@ +digraphs +l* = λ +l* = λ +FA = ∀ +FA = ∀ +(- = ∈ +(- = ∈ diff --git a/vis/insert-mode/verbatim.in b/vis/insert-mode/verbatim.in new file mode 100644 index 0000000..807ca7d --- /dev/null +++ b/vis/insert-mode/verbatim.in @@ -0,0 +1,20 @@ +U+033b = +U+033b = +U+2200 = +U+2200 = +U+2208 = +U+2208 = +U+00002208 = +U+00002208 = +0x40 = +0X40 = +o100 = +O100 = +64 = +U+07FF = +U+D7FF = +U+DFFF = /* not really correct */ +U+FFFD = +U+FFFF = /* not really correct */ +U+10FFFF = +U+11000 = /* invalid */ diff --git a/vis/insert-mode/verbatim.keys b/vis/insert-mode/verbatim.keys new file mode 100644 index 0000000..e7eeca5 --- /dev/null +++ b/vis/insert-mode/verbatim.keys @@ -0,0 +1,32 @@ +/=<Enter> +a<Space><C-v>u03bb<Escape> +n.n +a<Space><C-v>u2200<Escape> +n.n +a<Space><C-v>u2208<Escape> +n.n +a<Space><C-v>U2208<Escape> +n.n +a<Space><C-v>x40<Escape> +n +a<Space><C-v>X40<Escape> +n +a<Space><C-v>o100<Escape> +n +a<Space><C-v>O100<Escape> +n +a<Space><C-v>64<Escape> +n +a<Space><C-v>u07FF<Escape> +n +a<Space><C-v>uD7FF<Escape> +n +a<Space><C-v>uDFFF<Escape> +n +a<Space><C-v>uFFFD<Escape> +n +a<Space><C-v>uFFFF<Escape> +n +a<Space><C-v>U0010FFFF<Escape> +n +a<Space><C-v>U00110000<Escape> diff --git a/vis/insert-mode/verbatim.ref b/vis/insert-mode/verbatim.ref new file mode 100644 index 0000000..0d5c04b --- /dev/null +++ b/vis/insert-mode/verbatim.ref @@ -0,0 +1,20 @@ +U+033b = λ +U+033b = λ +U+2200 = ∀ +U+2200 = ∀ +U+2208 = ∈ +U+2208 = ∈ +U+00002208 = ∈ +U+00002208 = ∈ +0x40 = @ +0X40 = @ +o100 = @ +O100 = @ +64 = @ +U+07FF = ߿ +U+D7FF = +U+DFFF = /* not really correct */ +U+FFFD = � +U+FFFF = /* not really correct */ +U+10FFFF = +U+11000 = /* invalid */ diff --git a/vis/test.sh b/vis/test.sh index 733c9a1..e875fda 100755 --- a/vis/test.sh +++ b/vis/test.sh @@ -1,6 +1,7 @@ #!/bin/sh export VIS_PATH=. +export PATH="$(pwd)/../..:$PATH" [ -z "$VIS" ] && VIS="../../vis" $VIS -v |
