diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-10-24 19:41:05 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-10-24 20:45:12 +0100 |
| commit | dc189638751f1b647af0220e5e8831de5aeb8d8e (patch) | |
| tree | a31c9bf60dec2ebdbbcfadb1dcf8afa8b0c0cbc0 /src/normal.cc | |
| parent | dbae81fa5ce83282b632b1fec14a1cd5dbf27b42 (diff) | |
Make o/O open multiple lines when a count is given
Fixes #873
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc index 2f7e3497..43c84c38 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -93,9 +93,9 @@ void select_coord(Buffer& buffer, BufferCoord coord, SelectionList& selections) } template<InsertMode mode> -void enter_insert_mode(Context& context, NormalParams) +void enter_insert_mode(Context& context, NormalParams params) { - context.input_handler().insert(mode); + context.input_handler().insert(mode, params.count); } void repeat_last_insert(Context& context, NormalParams) |
