Skip to content

Instantly share code, notes, and snippets.

@BenjaminVanRyseghem
Last active May 23, 2016 11:13
Show Gist options
  • Save BenjaminVanRyseghem/b8f6ef6cf5ce5262f5b94dc59dea6360 to your computer and use it in GitHub Desktop.
Save BenjaminVanRyseghem/b8f6ef6cf5ce5262f5b94dc59dea6360 to your computer and use it in GitHub Desktop.
My custom bindings for reviewable.io
[
[
"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()"
],
[
null,
"First unreviewed file",
"firstUnreviewedFile()"
],
[
null,
"Last unreviewed file",
"lastUnreviewedFile()"
],
[
null,
"First changed file",
"firstChangedFile()"
],
[
null,
"Last changed file",
"lastChangedFile()"
],
[
null,
"First visible file",
"firstVisibleFile()"
],
[
null,
"Last visible file",
"lastVisibleFile()"
],
[
null,
"First file",
"firstFile()"
],
[
null,
"Last file",
"lastFile()"
],
[
"ctrl+x",
"Mark file as reviewed / unreviewed",
"toggleCurrentFileReviewed()"
],
[
"x",
"Mark file as reviewed / unreviewed and go next",
"toggleCurrentFileReviewed(true); nextUnreviewedFile()"
],
[
"shift+x",
"Mark all files as reviewed",
"setGlobalReviewed()"
],
[
"j",
"Next unreplied comment",
"nextUnrepliedDiscussion()"
],
[
"k",
"Previous unreplied comment",
"prevUnrepliedDiscussion()"
],
[
null,
"Next comment",
"nextDiscussion()"
],
[
null,
"Previous comment",
"prevDiscussion()"
],
[
"shift+j",
"Next unresolved comment",
"nextUnresolvedDiscussionWithoutDraft()"
],
[
"shift+k",
"Previous unresolved comment",
"prevUnresolvedDiscussionWithoutDraft()"
],
[
null,
"Next draft",
"nextDraft()"
],
[
null,
"Previous draft",
"prevDraft()"
],
[
null,
"First unreplied comment",
"firstUnrepliedDiscussion()"
],
[
null,
"Last unreplied comment",
"lastUnrepliedDiscussion()"
],
[
null,
"First comment",
"firstDiscussion()"
],
[
null,
"Last comment",
"lastDiscussion()"
],
[
null,
"First unresolved comment",
"firstUnresolvedDiscussionWithoutDraft()"
],
[
null,
"Last unresolved comment",
"lastUnresolvedDiscussionWithoutDraft()"
],
[
null,
"First draft",
"firstDraft()"
],
[
null,
"Last draft",
"lastDraft()"
],
[
".",
"Next item that needs attention",
"nextChangedFileOrUnrepliedDiscussion()"
],
[
",",
"Previous item that needs attention",
"prevChangedFileOrUnrepliedDiscussion()"
],
[
null,
"First item that needs attention",
"firstChangedFileOrUnrepliedDiscussion()"
],
[
null,
"Last item that needs attention",
"lastChangedFileOrUnrepliedDiscussion()"
],
[
[
"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+enter",
"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