diff --git a/html.c b/html.c
index 3d7f651..31ac336 100644
--- a/html.c
+++ b/html.c
@@ -927,6 +927,9 @@ ModeDef html_mode = {
.move_up_down = html_move_up_down,
.move_bol = html_move_bol,
.move_eol = html_move_eol,
+ .move_bof = text_move_bof, /* XXX: should refine */
+ .move_eof = text_move_eof, /* XXX: should refine */
+ .move_word_left_right = text_move_word_left_right, /* XXX: refine */
.scroll_up_down = html_scroll_up_down,
.mouse_goto = html_mouse_goto,
.write_char = text_write_char,