1 line
1.1 KiB
Plaintext
1 line
1.1 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I'm using vterm a lot, and really like entering <code>vterm-copy-mode</code>. However, sometimes (I haven'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 -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/r5l6q2/weird_vterm_copypaste_behavior/">[comments]</a></span> |