It is not 100% bulletproof but we don't have any function telling us
the point or line number of the last prompt, and it doesn't seem to be
easy to implement, so I needed to workaround this.
Currently, pressing the `x` key in normal mode does nothing. I don't
know much about `:motion` but AFAIK `evil-delete-char` doesn't
exist. Using `evil-forward-char` fixes the issue.
The original `evil-first-non-blank` isn't usable because the beginning
of the prompt is the first non-blank character. Strangely enough,
`vterm-beginning-of-line` didn't work either.
The `vterm-yank` that is currently bound to `p` actually pastes before
the cursor, so I am rebinding it to `P` and adding a function for
pasting after the cursor.
We have `0` for jumping at the very first character of the current
line and `^` for jumping to the non-blank character. It is useful to
keep this distinction in `vterm` buffers. However, it doesn't make
much sense in the command part. Because we have a prompt, both of the
commands jump to the very first character. I think it would be more
useful to change `^` to jump to the first non-blank character after
the prompt.