I'm using vterm a lot, and really like entering vterm-copy-mode
. However, sometimes (I haven't figured out under what circumstances) the following sequence of commands leads to weird behavior:
I enter copy mode
select a word in the middle of a line using the normal emacs commands
yank that word
exit copy mode
paste that word
For instance, I use ps
to enumerate processes, select a process ID using copy mode, then try to kill $my-selected-id
.
What happens is the whole line is pasted instead of the single word.
Anyone experienced this and has a way to fix this?