diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 6b75c2617c5e..d3607513dfb7 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1189,7 +1189,7 @@ fn goto_file_impl(cx: &mut Context, action: Action) { } else { &['@', '/', '.', '-', '_', '+', '#', '$', '%', '~', '='] }; - valid_chars.contains(c) || c.is_alphabetic() + valid_chars.contains(c) || c.is_alphabetic() || c.is_numeric() }; let cursor_pos = primary.cursor(text.slice(..));