Skip to content

Instantly share code, notes, and snippets.

@pkaminski
Last active June 1, 2016 20:29
Show Gist options
  • Save pkaminski/e6ab0c284b08a2d7a04d to your computer and use it in GitHub Desktop.
Save pkaminski/e6ab0c284b08a2d7a04d to your computer and use it in GitHub Desktop.
Reviewable keyboard bindings
[
["f", "Show next/latest diffs", "setProposedRevRanges()"],
["n", "Next unreviewed file", "nextUnreviewedFile()"],
["p", "Previous unreviewed file", "prevUnreviewedFile()"],
["shift+n", "Next changed file", "nextChangedFile()"],
["shift+p", "Previous changed file", "prevChangedFile()"],
[null, "Next visible file", "nextVisibleFile()"],
[null, "Previous visible file", "prevVisibleFile()"],
[null, "Next file", "nextFile()"],
[null, "Previous file", "prevFile()"],
["x", "Mark file as reviewed / unreviewed", "toggleCurrentFileReviewed()"],
["shift+x", "Mark all files as reviewed", "setGlobalReviewed()"],
["j", "Next unreplied comment", "nextUnrepliedDiscussion()"],
["k", "Previous unreplied comment", "prevUnrepliedDiscussion()"],
["]", "Next comment", "nextDiscussion()"],
["[", "Previous comment", "prevDiscussion()"],
["shift+j", "Next unresolved comment", "nextUnresolvedDiscussionWithoutDraft()"],
["shift+k", "Previous unresolved comment", "prevUnresolvedDiscussionWithoutDraft()"],
[null, "Next draft", "nextDraft()"],
[null, "Previous draft", "prevDraft()"],
[".", "Next item that needs attention", "nextChangedFileOrUnrepliedDiscussion()"],
[",", "Previous item that needs attention", "prevChangedFileOrUnrepliedDiscussion()"],
[["r", "enter"], "Reply to comment", "replyToCurrentDiscussion()"],
["d", "Reply to comment with 'Done'", "replyToCurrentDiscussion('Done.')"],
["y", "Acknowledge comment", "acknowledgeCurrentDiscussion()"],
[null, "Set disposition to \"discussing\"", "setCurrentDiscussionDisposition('discussing')"],
[null, "Set disposition to \"satisfied\"", "setCurrentDiscussionDisposition('satisfied')"],
[null, "Set disposition to \"blocking\"", "setCurrentDiscussionDisposition('blocking')"],
["mod+shift+o", "Show / hide older comments", "toggleCurrentDiscussionOlderComments()"],
["mod+shift+p", "Toggle draft preview", "toggleCurrentDraftPreview()"],
[null, "Delete comment", "deleteDraft()"],
[null, "Publish current comment", "sendCurrentComment()"],
["mod+shift+s", "Publish all comments", "sendAll()"],
[null, "Toggle bunny dropdown", "toggleOverlay()"],
[null, "Toggle status checks dropdown", "toggleRevisionStatus()"],
[null, "Toggle changes dropdown", "toggleChangesDropdown()"],
[null, "Toggle published message preview", "toggleSendAllPreviewDropdown()"],
[null, "Go to the file matrix", "visitFileMatrix()"],
[null, "Return to reviews dashboard", "navigate('/reviews')"]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment