diff options
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 7f7a26ba..3b80d4ee 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1240,7 +1240,12 @@ public: m_completer.reset(); } else if (key == ctrl('u')) + { context().buffer().commit_undo_group(); + context().print_status({ format("committed change #{}", + context().buffer().current_history_id()), + get_face("Information") }); + } else if (key == ctrl('v')) { on_next_key_with_autoinfo(context(), KeymapMode::None, |
