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

Emacs style bindings in insert mode does not work in WSL2 #4249

Closed
o8vm opened this issue Oct 13, 2022 · 2 comments
Closed

Emacs style bindings in insert mode does not work in WSL2 #4249

o8vm opened this issue Oct 13, 2022 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@o8vm
Copy link

o8vm commented Oct 13, 2022

Summary

Emacs style bindings in insert mode does not work in WSL2, for example, Ctrl-b causes "b" to be typed. Others are the same.

Reproduction Steps

I tried this:

Ubutu WSL2(WindowsTerminal.exe):

  1. cargo install --path helix-term
  2. hx test
  3. press i into insert mode & press Ctrl-b, b to be typed

Helix log

~/.cache/helix/helix.log
2022-10-13T22:00:30.712 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2022-10-13T22:01:11.639 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2022-10-13T22:04:31.647 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }

Platform

WSL2

Terminal Emulator

WindowsTerminal 1.15.2713.0

Helix Version

helix 22.08.1 (5077ce7)

@o8vm o8vm added the C-bug Category: This is a bug label Oct 13, 2022
@the-mikedavis
Copy link
Member

Most readline-like bindings have been removed on master:

You can add bindings to your config to restore the ones you use:

[keys.insert]
C-b = "move_char_left"

@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2022
@o8vm
Copy link
Author

o8vm commented Oct 13, 2022

Thank you!

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
Projects
None yet
Development

No branches or pull requests

2 participants