Merge remote-tracking branch 'lenormf/fix-3976'
This commit is contained in:
commit
21494e5d78
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user