vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 5d3d539ff45189f11dc547e43caf42348f33c034 parent 81cbb5830920075b1a157a00d1aa9746d8f0f7da Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 28 Oct 2016 10:38:21 +0200 vis-complete: allow custom input not matching any completion candidate See also discussion in #402. Diffstat:
| M | vis-complete | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis-complete b/vis-complete @@ -64,5 +64,5 @@ else sort fi | vis-menu -b | - cut -b $(( ${#PATTERN} + 1 ))- | + sed "s/^$(printf "%s" "$PATTERN" | sed 's:/:\\/:g' )//" | tr -d '\n'