What is the keyboard shortcut to show the diff within a local file with Git
Answered
When viewing a local file (not in differential mode) you can click the blue bar on the gutter to show the changes without having to view the `Commit: [file]` differential side by side viewer.
I was wondering what the shortcut is to view this. See the image for what exactly I am looking for.
Please sign in to leave a comment.
This can be configured by assigning shortcut to "Change under caret" in Preferences | Keymap -> Version Control Systems | Change Under Caret. Or it will be invoked if you press shortcut for "Next" or "Previous" change