Add status message when commiting an undo group in insert mode
This commit is contained in:
parent
fab3dc642a
commit
7f3a308b60
|
@ -1240,7 +1240,12 @@ public:
|
||||||
m_completer.reset();
|
m_completer.reset();
|
||||||
}
|
}
|
||||||
else if (key == ctrl('u'))
|
else if (key == ctrl('u'))
|
||||||
|
{
|
||||||
context().buffer().commit_undo_group();
|
context().buffer().commit_undo_group();
|
||||||
|
context().print_status({ format("committed change #{}",
|
||||||
|
context().buffer().current_history_id()),
|
||||||
|
get_face("Information") });
|
||||||
|
}
|
||||||
else if (key == ctrl('v'))
|
else if (key == ctrl('v'))
|
||||||
{
|
{
|
||||||
on_next_key_with_autoinfo(context(), KeymapMode::None,
|
on_next_key_with_autoinfo(context(), KeymapMode::None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user