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

This commit is contained in:
Maxime Coste 2021-09-30 20:43:02 +10:00
commit 09f4ef0917

View File

@ -327,6 +327,8 @@ void goto_commands(Context& context, NormalParams params)
select_coord<mode>(buffer, *pos, context.selections());
break;
}
default:
throw runtime_error("key not mapped");
}
}, (mode == SelectMode::Extend ? "goto (extend to)" : "goto"),
build_autoinfo_for_mapping(context, KeymapMode::Goto,
@ -391,6 +393,8 @@ void view_commands(Context& context, NormalParams params)
case 'l':
window.scroll( std::max<ColumnCount>(1, count));
break;
default:
throw runtime_error("key not mapped");
}
}, lock ? "view (lock)" : "view",
build_autoinfo_for_mapping(context, KeymapMode::View,