Add status message when commiting an undo group in insert mode

This commit is contained in:
Delapouite 2018-03-29 22:46:24 +02:00
parent fab3dc642a
commit 7f3a308b60

View File

@ -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,