Skip to content

Instantly share code, notes, and snippets.

@rishiip
Forked from pkaminski/gist:1ea3df5301660ddc5b12
Created September 17, 2019 09:37
Show Gist options
  • Save rishiip/3a7e8e8153984e7b8a236af493a276f8 to your computer and use it in GitHub Desktop.
Save rishiip/3a7e8e8153984e7b8a236af493a276f8 to your computer and use it in GitHub Desktop.
Custom key bindings for Reviewable
[
["n", "Next unreviewed file", "nextUnreviewedFile()"],
["p", "Previous unreviewed file", "prevUnreviewedFile()"],
["shift+n", "Next file", "nextFile()"],
["shift+p", "Previous file", "prevFile()"],
["x", "Mark file as reviewed / unreviewed", "toggleCurrentFileReviewed(); nextUnreviewedFile()"],
["j", "Next unreplied comment", "nextUnrepliedDiscussion()"],
["k", "Previous unreplied comment", "prevUnrepliedDiscussion()"],
["shift+j", "Next comment", "nextDiscussion()"],
["shift+k", "Previous comment", "prevDiscussion()"],
["mod+shift+j", "Next draft", "nextDraft()"],
["mod+shift+k", "Previous draft", "prevDraft()"],
["r", "Reply to comment", "replyToCurrentDiscussion()"],
["d", "Reply to comment with 'Done'", "replyToCurrentDiscussion('Done')"],
["y", "Acknowledge comment", "acknowledgeCurrentDiscussion()"],
["mod+shift+p", "Toggle draft preview", "toggleCurrentDraftPreview()"],
["?", "Show / hide this help menu", "toggleCheatSheet()"]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment