Make home and end work in insert mode

This commit is contained in:
wojciechkepka 2021-06-19 13:59:02 +02:00 committed by Blaž Hrastnik
parent 2cbec2b047
commit 11f20af25f

View File

@ -333,6 +333,8 @@ fn default() -> Keymaps {
key!(Right) => Command::move_char_right, key!(Right) => Command::move_char_right,
key!(PageUp) => Command::page_up, key!(PageUp) => Command::page_up,
key!(PageDown) => Command::page_down, key!(PageDown) => Command::page_down,
key!(Home) => Command::move_line_start,
key!(End) => Command::move_line_end,
ctrl!('x') => Command::completion, ctrl!('x') => Command::completion,
ctrl!('w') => Command::delete_word_backward, ctrl!('w') => Command::delete_word_backward,
), ),