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

Documentation of specific available vi-mode keybindings #382

Open
BatmanAoD opened this issue Apr 5, 2022 · 4 comments
Open

Documentation of specific available vi-mode keybindings #382

BatmanAoD opened this issue Apr 5, 2022 · 4 comments
Labels
A-ViKeybinding Area: Vi(m) keybinding support documentation Improvements or additions to documentation

Comments

@BatmanAoD
Copy link

I can't find a list of the specific bindings enabled by the current vi mode. I noticed that C doesn't have the standard behavior of deleting from the cursor to the end of the line and entering insert mode, so I'd like a convenient reference for what is or is not available.

(I'm aware this may exist somewhere and I just didn't notice it, but I couldn't find it in the NuShell or Reedline documentation, and I couldn't find a relevant existing issue.)

@BatmanAoD BatmanAoD added the enhancement New feature or request label Apr 5, 2022
@fdncred
Copy link
Collaborator

fdncred commented Apr 5, 2022

You can get some of them by looking at keybindings default but for others you may have to dig into the code https://github.com/nushell/reedline/tree/main/src/edit_mode/vi

@elferherrera
Copy link
Contributor

Yeap. You are right. We need a chapter on what keybindings are available now for all edit modes

@BatmanAoD
Copy link
Author

You can get some of them by looking at keybindings default but for others you may have to dig into the code https://github.com/nushell/reedline/tree/main/src/edit_mode/vi

...oh wow, I didn't know about the keybindings command. That's kind of awesome, even if it is a little hard to read.

@sholderbach
Copy link
Member

Yeah I opened #350 but never got around...
Probably thinking, let's fix the Vi weirdnesses first, instead of writing down what is broken

@sholderbach sholderbach added documentation Improvements or additions to documentation A-ViKeybinding Area: Vi(m) keybinding support labels Apr 5, 2022
@sholderbach sholderbach removed the enhancement New feature or request label Apr 13, 2022
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 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants