diff --git a/src/client.cc b/src/client.cc index f43203bb..6096844d 100644 --- a/src/client.cc +++ b/src/client.cc @@ -889,6 +889,8 @@ public: } else if ( key == Key{ Key::Modifiers::Control, 'x' }) m_mode = Mode::Complete; + else if ( key == Key{ Key::Modifiers::Control, 'u' }) + context().buffer().commit_undo_group(); if (update_completions) m_idle_timer.set_next_date(Clock::now() + idle_timeout);