1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-30 13:43:41 +03:00

Add <c-u> in insert mode for forcing commiting the current undo group

This commit is contained in:
Maxime Coste 2013-10-02 18:45:39 +01:00
parent bc051c53af
commit 307fc228d2

View File

@ -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);