Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unselect selected lines on files or commits #1590

Closed
anthony-robin opened this issue Oct 17, 2018 · 3 comments · Fixed by #1878
Closed

Unselect selected lines on files or commits #1590

anthony-robin opened this issue Oct 17, 2018 · 3 comments · Fixed by #1878

Comments

@anthony-robin
Copy link

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 !

@tanmayrajani
Copy link
Contributor

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.

@sindresorhus
Copy link
Member

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

@sindresorhus sindresorhus changed the title [Feature idea] Unselect selected lines on files or commits Unselect selected lines on files or commits Nov 7, 2018
@fregante
Copy link
Member

fregante commented Mar 22, 2019

Feature PR sent, press esc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants