Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helix panics when space+return is mapped to enter_insert_mode #2099

Closed
JKAnderson409 opened this issue Apr 14, 2022 · 1 comment
Closed

Helix panics when space+return is mapped to enter_insert_mode #2099

JKAnderson409 opened this issue Apr 14, 2022 · 1 comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@JKAnderson409
Copy link

JKAnderson409 commented Apr 14, 2022

Summary

thread 'main' panicked at 'not implemented', helix-term/src/ui/editor.rs:1189:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

EDIT: Here's the line with the panic:

_ => unimplemented!(),

Reproduction Steps

Add this line to your config.toml and make sure it does not conflict with other custom mappings. Then, try to use this key sequence.

[keys.normal]
space.ret = "insert_mode"

If I map the same keys to "move_line_up" the program does not panic and works as expected.

Helix log

This panic does not seem to leave a log message. The logs are the same as when the program is closed normally.

Platform

Linux, Fedora 36

Terminal Emulator

kitty 0.24.4

Helix Version

22.03-77-g3deb1c92

@JKAnderson409 JKAnderson409 added the C-bug Category: This is a bug label Apr 14, 2022
@the-mikedavis
Copy link
Member

Duplicate of #2051

@the-mikedavis the-mikedavis marked this as a duplicate of #2051 Apr 14, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants