Include "Go to Definition" keyboard shortcut

Also has a quick one-liner about changing the mapping.
This commit is contained in:
Tim
2020-06-29 22:18:43 +08:00
committed by ☕ Tim
parent 5c8adf4236
commit dd2aaabfcc

View File

@@ -4,9 +4,11 @@ Foam enables you to Link pages together using `[[file-name]]` annotations with t
- Both `[[file-name]]` and `[[file-name.md]]` work
- Type `[[` and start typing a file name for autocompletion.
- `Cmd` + `Click` on file name to navigate to file
- `Cmd` + `Click` on file name to navigate to file (`F12` also works while your cursor is on the file name)
- `Cmd` + `Click` on non-existent file to create that file in the workspace.
> If the `F12` shortcut feels unnatural you can rebind it at File > Preferences > Keyboard Shortcuts by searching for `editor.action.revealDefinition`.
The [Foam for VSCode](https://marketplace.visualstudio.com/items?itemName=foam.foam-vscode) extension automatically generates [markdown link reference definitions](https://spec.commonmark.org/0.29/#link-reference-definitions) at the bottom of the file to make wiki-links compatible with Markdown tools and parsers
## Why don't `[[wiki-links]]` work on GitHub