Skip to content

Commit

Permalink
Merge remote-tracking branch 'lenormf/fix-4353'
Browse files Browse the repository at this point in the history
  • Loading branch information
mawww committed Sep 30, 2021
2 parents 5f8753c + b3c62c3 commit 09f4ef0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/normal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 09f4ef0

Please sign in to comment.