akermu / emacs-libvterm

Emacs libvterm integration
GNU General Public License v3.0
1.69k stars 135 forks source link

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

Open ashlineldridge opened 3 years ago

ashlineldridge commented 3 years ago

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.

Sbozzolo commented 3 years ago

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

ashlineldridge commented 3 years ago

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?

rien333 commented 8 months ago

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