yank notelink

This commit is contained in:
Rene Schallner
2021-11-22 12:24:18 +01:00
parent bc8776cf9e
commit 3d0533ba73
3 changed files with 17 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ The plugin defines the following functions.
- `search_notes()`: live grep for word under cursor in all notes (search in notes), via Telescope
- `insert_link()` : select a note by name, via Telescope, and place a `[[link]]` at the current cursor position
- `follow_link()`: take text between brackets (linked note) and open a Telescope file finder with it: selects note to open (incl. preview) - with optional note creation for non-existing notes, honoring the configured template
- `yank_notelink` : yank a link to the current note, ready to paste
- `setup(opts)`: used for configuring paths, file extension, etc.
To use one of the functions above, just run them with the `:lua ...` command.