vis

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

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

commit 098a9bf39a801af4671f6cbc8f986188408c869e
parent aa550f82ab8f94e244138adc60e75d6146c25268
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Fri, 14 Jul 2017 13:35:22 +0200

vis: restore s / S normal mode bindings

They were removed in 7b11ad84fe8f5948c2e972ed8ce31f7941e92785
to make room for the selection manipulation primitives. But by
now we use `m` and `M` to save/restore selections. I still think
these mappings are rather useless and they might well disappear
again in the future.

See also #593

Diffstat:
Mconfig.def.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -255,6 +255,8 @@ static const KeyBinding bindings_normal[] = { { "q", ACTION(MACRO_RECORD) }, { "R", ACTION(MODE_REPLACE) }, { "r", ACTION(REPLACE_CHAR) }, + { "S", ALIAS("^c$") }, + { "s", ALIAS("cl") }, { "<Tab>", ACTION(SELECTIONS_ALIGN) }, { "u", ACTION(UNDO) }, { "v", ACTION(MODE_VISUAL) },