thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.74k stars 241 forks source link

Add smart_copy option #725

Closed nloomans closed 3 years ago

nloomans commented 4 years ago

I'm sorry for creating a PR out of nowhere without consulting you first. Feel free to reject this if you feel like it's out of scope for this project.


This has been inspired from the Elementary OS terminal. This option allows the user to copy and paste naturally just like in any other application with minimal feature loss. And, more importantly, reduces the habit where I press CTRL + SHIFT + C in my browser and it opens the devtools.

I needed to change the copy behavior so it deselected any selected text after copying. This allows the CTRL + C, CTRL + V combo to work without having to click on the terminal in between.

BarbUk commented 4 years ago

Good option, I like it. I tested it and it's working great.

I will work with it from now on to check if it does not change something in my workflow.

lhanson commented 4 years ago

And, more importantly, reduces the habit where I press CTRL + SHIFT + C in my browser and it opens the devtools.

This is me every day, this feature sounds fantastic!

thestinger commented 3 years ago

Termite is obsolete. Please use Alacritty instead. See https://github.com/thestinger/termite#termite-is-obsoleted-by-alacritty for more details.