Merge remote-tracking branch 'lenormf/fix-3976'

This commit is contained in:
Maxime Coste 2021-10-06 09:00:21 +11:00
commit 21494e5d78

View File

@ -228,7 +228,7 @@ void goto_commands(Context& context, NormalParams params)
if (not cp or key == Key::Escape) if (not cp or key == Key::Escape)
return; return;
auto& buffer = context.buffer(); auto& buffer = context.buffer();
switch (to_lower(*cp)) switch (*cp)
{ {
case 'g': case 'g':
case 'k': case 'k':
@ -365,7 +365,7 @@ void view_commands(Context& context, NormalParams params)
const BufferCoord cursor = context.selections().main().cursor(); const BufferCoord cursor = context.selections().main().cursor();
Window& window = context.window(); Window& window = context.window();
switch (to_lower(*cp)) switch (*cp)
{ {
case 'v': case 'v':
case 'c': case 'c':