If you often find yourself typing something and th...
# questions
h
If you often find yourself typing something and then realize you want that to be an alias of a wikilink, you can do this: Set
commands.insertNoteLink.aliasMode
to
selection
in
dendron.yml
Copy code
...
commands:
  insertNoteLink:
    aliasMode: "selection"
...
or Create a custom keybinding for insert note link with
aliasMode: selection
as argument:
Copy code
/* 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