hikchoi
03/18/2022, 6:38 PMcommands.insertNoteLink.aliasMode
to selection
in dendron.yml
...
commands:
insertNoteLink:
aliasMode: "selection"
...
or
Create a custom keybinding for insert note link with aliasMode: selection
as argument:
/* in keybindings.json.
* Use `Preference: Open Keyboard Shortcuts (JSON)` to open.
*/
[
...
{
"key": "{desired keybinding}",
"command": "dendron.insertNoteLink",
"args": {
"aliasMode": "selection" // choose one from the list
}
},
...
]
Then you can select some text in the editor and run Dendron: Insert Note Link
to use the selection as an alias to a wikilink you choose to insert