enhancement: vim bindings

Status Fixed / completed
Maintainer reply ✓ Yes — 8enmann
Activity 6 comments · opened Feb 26, 2025 · closed Mar 17, 2025
💡 Likely answer: A maintainer (8enmann, collaborator) responded on this thread — see the highlighted reply below.

i'd like to have vim bindings for hopping around and editing the prompt.

View original on GitHub ↗

6 Comments

8enmann collaborator · 1 year ago

@sid374 has something cooking for ya ✨

chad-fossa · 1 year ago

There's currently a "vim" config option but it doesn't seem to work. I select it, but there's no way to get to command mode where I can move between words etc. Not sure why it's there

sid374 contributor · 1 year ago
There's currently a "vim" config option but it doesn't seem to work. I select it, but there's no way to get to command mode where I can move between words etc. Not sure why it's there

Give it till the next release :)

catherinewu contributor · 1 year ago

shipped vim mode! closing this issue :)

happylinks · 1 year ago

@catherinewu there are def still some improvements that can be made, at the top of my head:

  • "r" doesn't work for replacing chars
  • "u" for undo doesn't seem to work
  • CTRL+r for redo doesn't seem to work
  • "b" for going back a word jumps to another line
  • "dw" is inaccurate

Probably more stuff, do you want this in a new ticket?

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.