Skip to content
 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

github-review-shortcut

Toggle a file's Viewed state on GitHub's pull request UI by hovering over the file and pressing Space.

  • On an expanded file, Space marks it viewed, collapses it, and scrolls the next rendered file to the top of the visible diff region.
  • On a collapsed file, Space marks it unviewed, expands it, and scrolls it to the top of the visible diff region.
  • Space retains its normal behavior while typing in comments and other form fields.
  • Both the redesigned and classic GitHub Files changed pages are supported.

This is a customized fork of nbolton/github-review-shortcut. Because the core keybinding changed from Escape to Space, the modifications are not intended for upstream submission.

Original discussion

Instructions

  1. Install the Tampermonkey extension.
  2. In the Tampermonkey dashboard, create a new script.
  3. Replace the editor contents with main.js, then save.

About

Mark file as "viewed" on GitHub PR UI when hovering and pressing 'Space'

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages