Add with live grep option to insert link function and find notes function (closes #188)

* add with_live_grep option to InsertLink function
* add with_live_grep option to FindNotes function
* update documents
This commit is contained in:
Hayao Kimura ( hachi )
2022-11-28 01:33:54 +09:00
committed by GitHub
parent 04deff8579
commit 9de25d1657
3 changed files with 88 additions and 50 deletions

View File

@@ -537,9 +537,16 @@ telekasten.new_templated_note()~
See also:~
- |telekasten.template_files|
*telekasten.find_notes()*
telekasten.find_notes()~
telekasten.find_notes({opts})~
Opens a Telescope file finder and lets you pick a note by title (file name).
Valid keys for {opts}
with_live_grep:~
If `true`, it will use live_grep picker and you can search file by file contents.
Default: `nil`
*telekasten.find_daily_notes()*
telekasten.find_daily_notes()~
Find daily notes by date, via Telescope. File names are sorted by file name,
@@ -631,6 +638,11 @@ telekasten.insert_link({opts})~
when being used in a simple `inoremap` key mapping like shown in
|telekasten.mappings|.
Default: `nil`
with_live_grep:~
If `true`, it will use live_grep picker and you can search file by file contents.
Default: `nil`
*telekasten.follow_link()*