zsh-vi-mode
zsh-vi-mode copied to clipboard
Delete to the beginning of the line doesn't work
General information
Basic examination
- [x] I have read through the README page
- [x] I have the latest version of zsh-vi-mode
- [ ] I have tested with another terminal program
Problem description
I was trying to delete from the cursor to the beginning of the line in normal mode. I tried two methods:
-
d0
should delete from the character before the cursor to the beginning of the line. It does nothing. -
d^
should delete from the character before the cursor to the first non-whitespace character on the line. It deletes them PLUS the character the cursor was sitting on.
Reproduction steps
- On a fresh command prompt, type
sudo id
- Type
<esc>b
to place the curson on thei
- Type
d0
to deletesudo
-- nothing happens but it should have deleted it - Type
d^
as a second attempt to deletesudo
-- it deletessudo
but also deletes thei
inid
. Vi doesn't delete thei
Expected behavior
Should delete from the character before the cursor to the beginning of the line.
Hi @ecbaldwin
Thanks for your reporting, I will work on this issue as soon as possible.
Thanks and Regards