I've used set -o vi on bash for a while.
However, I've started using zsh, and I've found that when I try to use the "delete" key (backspace for mac), it doesn't delete non-inserted text.
For instance: I can delete anything I've typed that using delete.
However, if I copy the command above (by the above arrow or k), I can't delete it.
For vim, I think I can do it with set backspace=indent eol start in ~/.vimrc, but not sure how I can make that change with vi? Also unsure why it works in bash but not in zsh.
:set backspace=indent,eol,start) is not. – D. Ben Knoble Jun 28 '21 at 20:25