vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 877439f5bfe62313bd3fa7bad3eb6f3a806dee38 parent ce6b54eba126ef5930ff38565a0f1b5937ec5122 Author: Silvan Jegen <s.jegen@gmail.com> Date: Tue, 15 Dec 2015 19:35:04 +0100 Make normal mode 'S' behave like in Vim Diffstat:
| M | config.def.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h @@ -247,7 +247,7 @@ static KeyBinding vis_mode_normal[] = { { "v", ACTION(MODE_VISUAL) }, { "V", ACTION(MODE_VISUAL_LINE) }, { "R", ACTION(MODE_REPLACE) }, - { "S", ALIAS("cc") }, + { "S", ALIAS("^c$") }, { "s", ALIAS("cl") }, { "Y", ALIAS("yy") }, { "X", ALIAS("dh") },