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

Rebind esc for entering vi normal mode #499

Open
corecube opened this issue Oct 20, 2022 · 3 comments
Open

Rebind esc for entering vi normal mode #499

corecube opened this issue Oct 20, 2022 · 3 comments
Labels
A-ViKeybinding Area: Vi(m) keybinding support

Comments

@corecube
Copy link

Question

How can I change the binding for switching between vi insert mode and normal mode?
I've tried already the following binding with no effect:

    {
      name: normal_mode
      modifier: alt
      keycode: char_l
      mode: [vi_insert, vi_normal, emacs]
      event: { send: Esc }
    }

Additional context and details

No response

@corecube corecube added the question Further information is requested label Oct 20, 2022
@sholderbach
Copy link
Member

This is currently hard coded as part of the vi binding parsing stage, so changing is currently not yet possible. Let's move this to reedline as a future improvement.

@sholderbach sholderbach transferred this issue from nushell/nushell Oct 20, 2022
@sholderbach sholderbach added A-ViKeybinding Area: Vi(m) keybinding support and removed question Further information is requested labels Oct 20, 2022
@eggcaker
Copy link

add more fd or jk combine keys too

@ahkohd
Copy link

ahkohd commented Jul 5, 2023

This is currently hard coded as part of the vi binding parsing stage, so changing is currently not yet possible. Let's move this to reedline as a future improvement.

this breaks my heart!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ViKeybinding Area: Vi(m) keybinding support
Projects
None yet
Development

No branches or pull requests

4 participants