emacs-libvterm icon indicating copy to clipboard operation
emacs-libvterm copied to clipboard

vterm-copy-mode unable to select region using C-S-e

Open ashlineldridge opened this issue 3 years ago • 3 comments

When in vterm-copy-mode I'm not able to select a region from the current position of point to the end of the line using C-S-e which works for me in other buffers/modes. Instead, typing C-S-e simply moves point to the end of the line without selecting the region.

Strangely, I can select the region from point to the end of the line if I first type C-S-f to select the next character and then type C-S-e. I'm confused why I need to start the region first by selecting the first character when I don't have to do this in other buffers/modes.

Thanks for any assistance.

ashlineldridge avatar Sep 14 '21 23:09 ashlineldridge

What are C-s-f/C-s-e bound to? On my setup, they are not bound to any command.

Sbozzolo avatar Sep 14 '21 23:09 Sbozzolo

Ah, you've made me realize that what I'm seeing is the difference in behavior between vterm-end-of-line (C-e in vterm) and move-end-of-line (C-e in most other modes). I'm guessing that move-end-of-line is obeying shift-select-mode as described here, while vterm-end-of-line is not?

ashlineldridge avatar Sep 15 '21 03:09 ashlineldridge

Cannot reproduce, though superficially similar to my https://github.com/akermu/emacs-libvterm/issues/698.

rien333 avatar Jan 11 '24 15:01 rien333