Skip to content

Instantly share code, notes, and snippets.

@vitormil
Created July 15, 2022 15:25
Show Gist options
  • Save vitormil/412caab39f54dfe64a8795ee5d42500c to your computer and use it in GitHub Desktop.
Save vitormil/412caab39f54dfe64a8795ee5d42500c to your computer and use it in GitHub Desktop.
3 Keyboard Shortcuts to Navigate Your Code Faster
[
// IntelliJ -> Navigate - Back
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
},
// IntelliJ -> Navigate - Forward
{
"key": "cmd+]",
"command": "workbench.action.navigateForward"
},
// ------------------------------
// IntelliJ -> Navigate in File - Previous Change
{
"key": "alt+cmd+[",
"command": "editor.action.dirtydiff.previous",
"when": "editorTextFocus && !textCompareEditorActive"
},
// IntelliJ -> Navigate in File - Next Change
{
"key": "alt+cmd+]",
"command": "editor.action.dirtydiff.next",
"when": "editorTextFocus && !textCompareEditorActive"
},
// ------------------------------
// IntelliJ -> Navigate - Previous Highlighted Error
{
"key": "ctrl+alt+cmd+[",
"command": "editor.action.marker.prev"
},
// IntelliJ -> Navigate - Next Highlighted Error
{
"key": "ctrl+alt+cmd+]",
"command": "editor.action.marker.next",
"when": "editorFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment