adds the command open-file-command.openFile
which can be used to open any file with a keyboard shortcut.
Add a a keyboard shortcut:
{
"key": "ctrl+m",
"command": "open-file-command.openFile",
"args": ["~/.vscode/notes.txt", 6, 3]
},
The args take in a path, line number (optional), and cursor position (optional). The path should be absolute.