vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit a077e4cb26c8ace4425b57e3d19a269e23ac0c6b
parent f0114596f6142949de18c7da7c27d873a029ff65
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sun, 26 Jul 2020 11:27:30 +0200

vis: remove ~ as alias for g~

Diffstat:
Mconfig.def.h | 1-
Mman/vis.1 | 6+++---
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -163,7 +163,6 @@ static const KeyBinding bindings_operators[] = { { "7", ACTION(COUNT) }, { "8", ACTION(COUNT) }, { "9", ACTION(COUNT) }, - { "~", ALIAS("g~") }, { "=", ALIAS(":|fmt<Enter>") }, { "<", ACTION(OPERATOR_SHIFT_LEFT) }, { ">", ACTION(OPERATOR_SHIFT_RIGHT) }, diff --git a/man/vis.1 b/man/vis.1 @@ -789,6 +789,9 @@ make lowercase .It Ic gU make uppercase . +.It Ic g~ +swap case +. .It Ic J join lines, insert spaces in between . @@ -804,9 +807,6 @@ shift-left, decrease indent .It Ic > shift-right, increase indent . -.It Ic ~ -swap case -. .It Ic y yank, copy range to register .El