aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-07-14 13:35:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-07-14 13:41:40 +0200
commit4715eb3178d62f3527ae2c24092bf0c109bb570b (patch)
tree52215895bd44de3a0aed5a35b599aacb4f61e2db /config.def.h
parent60ba2da1b5e6cc9bac996ee7bb1b15cc31cb1425 (diff)
downloadvis-4715eb3178d62f3527ae2c24092bf0c109bb570b.tar.gz
vis-4715eb3178d62f3527ae2c24092bf0c109bb570b.tar.xz
vis: restore s / S normal mode bindings
They were removed in 78d6ae87398bb90aa6067b0747934d55961e1efb 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 (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 642d602..4791fe4 100644
--- 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) },