emacs/var/elfeed/db/data/c3/c3fbca9d28b6804c36a51f2e39616be9c4f769f3
2022-01-03 12:49:32 -06:00

1 line
1.1 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I&#39;m using vterm a lot, and really like entering <code>vterm-copy-mode</code>. However, sometimes (I haven&#39;t figured out under what circumstances) the following sequence of commands leads to weird behavior:</p> <ul> <li><p>I enter copy mode</p></li> <li><p>select a word in the middle of a line using the normal emacs commands</p></li> <li><p>yank that word</p></li> <li><p>exit copy mode</p></li> <li><p>paste that word</p></li> </ul> <p>For instance, I use <code>ps</code> to enumerate processes, select a process ID using copy mode, then try to <code>kill $my-selected-id</code>.</p> <p>What happens is the <em>whole line</em> is pasted instead of the single word.</p> <p>Anyone experienced this and has a way to fix this?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/pimiddy"> /u/pimiddy </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r5l6q2/weird_vterm_copypaste_behavior/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/r5l6q2/weird_vterm_copypaste_behavior/">[comments]</a></span>