refined-github/refined-github

Unselect selected lines on files or commits

anthony-robin opened this issue · 3 comments

Currently, when we click on a line to highlight it, there is no possibility to unselect it unless we select another one or by removing manually the anchor added to the URL.

Maybe that could be a nice feature to add to refined github ?

Example for a file view

capture d ecran 2018-10-17 a 11 06 46

Example with a commit view

capture d ecran 2018-10-17 a 11 13 16

Thank you !

When I accidentally select a line like that, I usually hit Alt + i.e. go back to previous page. It might not be what we're looking for but worth mentioning.

This would be very useful indeed. I've been bothered by this behavior too. PR welcome :)

Please also suggest the improvement to GitHub: https://github.com/contact

Feature PR sent, press esc