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

DUP: Duplicate of #159 - vi (vim) mode #361

Closed
lak opened this issue Nov 5, 2021 · 4 comments
Closed

DUP: Duplicate of #159 - vi (vim) mode #361

lak opened this issue Nov 5, 2021 · 4 comments

Comments

@lak
Copy link

lak commented Nov 5, 2021

Describe the solution you'd like?

I would like vi mode in the shell, like I do in every other terminal. E.g., escape-K to search through history, escape to edit the current shell command, escape + v to open the current command in a terminal. This is all built into the shell, not the terminal, right? So I don't see why it would be changed.

Is your feature request related to a problem? Please describe.

I'm being generous in calling this a feature request, IMO, given it's built into the shell, not the terminal, and it's been a part of shells going back to at least ksh.

Additional context

No response

@elviskahoro elviskahoro changed the title vi mode Keybindings: vi mode Nov 5, 2021
@elviskahoro
Copy link
Contributor

The very same design and architecture that enables a modern input editor, blocks, future features is the same reason that vi-mode does not work automatically via the shell. This is something that we will have to build natively. I use vi-mode myself so you can trust it'll be pushed for, but realistically speaking we're still very early in the product roadmap.

@JasonTheAdams
Copy link

Just started testing it out and this is my first desired feature. Honestly, it wouldn't need to be crazy vim support (i.e. macros), but just basic things like the Visual and Insert mode, vertical selection, basic key support, and so forth. Since it's ground up I'm sure it would be quite a bit of work. Still, it would be awesome.

@elviskahoro
Copy link
Contributor

@JasonTheAdams IKR! it would be so much fun.

@elviskahoro elviskahoro changed the title Keybindings: vi mode KB: vi mode Nov 8, 2021
@elviskahoro elviskahoro changed the title KB: vi mode KB: vi (vim) mode Nov 9, 2021
@elviskahoro elviskahoro changed the title KB: vi (vim) mode DUP: Duplicate of #159 - vi (vim) mode Nov 9, 2021
@elviskahoro
Copy link
Contributor

Linking: #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants