Add a keyboard shortcut to mark current PR file as viewed · Issue #5674 · refined-github/refined-github · GitHub
Skip to content

Add a keyboard shortcut to mark current PR file as viewed #5674

Description

@forivall

Description

Before stumbling on refined github, I wrote this bookmarklet. I included v as the shortcut to mark a file as viewed, but that conflicts with your v shortcut, so I suggest m. we have settled on x.

Also, a recent github change re-opens any collapsed sections when using j/k (refined github or my bookmarlket), so I have a kludgy fix for that in my bookmarklet too.

Screenshot

For now, just turn off refined github keyboard shortcuts and demo my bookmarklet https://gist.github.com/forivall/49bb31234168481e68843cb5800fab0c#file-github-review-keyboard-shortcuts-bookmarklet-min-js

Example URL

https://github.com/mongodb-js/vscode/pull/417/files

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions