From f4ff59f8b2e010813b3cb09dc757a882e7a7b73c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 23 Jan 2022 21:00:45 +1100 Subject: Restore goto case insensitiveness, refuse to map upper case After a while it seems clear changing this is much more ergonomic and restoring it with pure config is impractical as we need to map all lower case keys. --- src/normal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/normal.cc') diff --git a/src/normal.cc b/src/normal.cc index 40efc32d..4e94fe57 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -228,7 +228,7 @@ void goto_commands(Context& context, NormalParams params) if (not cp or key == Key::Escape) return; auto& buffer = context.buffer(); - switch (*cp) + switch (to_lower(*cp)) { case 'g': case 'k': -- cgit v1.2.3