diff --git a/editor/command.c b/editor/command.c index bf63151f..4f2a2a12 100644 --- a/editor/command.c +++ b/editor/command.c @@ -830,7 +830,7 @@ void editor_type_character(struct editor* editor, wchar_t c) switch ( towlower(c) ) { case L'c': editor_type_copy(editor); break; - case L'i': editor_type_goto_line(editor); break; + case L'g': editor_type_goto_line(editor); break; case L'k': editor_type_cut(editor); break; case L'o': editor->shift ? editor_type_open_as(editor) : diff --git a/editor/editor.1 b/editor/editor.1 index 0d99b6f8..3be14110 100644 --- a/editor/editor.1 +++ b/editor/editor.1 @@ -26,7 +26,7 @@ It supports these keyboard shortcuts: .Bl -tag -width "12345768" .It Sy Ctrl-C Copy. -.It Sy Ctrl-I +.It Sy Ctrl-G Go to line. .It Sy Ctrl-K Cut.