Skip to content

Instantly share code, notes, and snippets.

@jihuichoi
Created August 22, 2019 09:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jihuichoi/42cf86b3610266bd7e35e2f9737b1293 to your computer and use it in GitHub Desktop.
Save jihuichoi/42cf86b3610266bd7e35e2f9737b1293 to your computer and use it in GitHub Desktop.
to navigate backward/forward using mouse button 4,5 on mac
[
// move backward/forward using mouse button 4, 5
{ // remove exsiting bind
"key": "",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{ // remove exsiting bind
"key": "",
"command": "editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{ // new bind for button 4 or 5
"key": "cmd+[",
"command": "workbench.action.navigateBack",
},
{ // new bind for button 4 or 5
"key": "cmd+]",
"command": "workbench.action.navigateForward",
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment