Squashed PR #158 and fixup into 1 commit

Squashed PR#158 into 1 single commit;

        Add vaults

        Add documentation:

        Make luachack happy.

        Address review comments

    fixed tabs and formatting of PR #158
This commit is contained in:
Shivanth
2022-08-07 23:54:19 +08:00
committed by Rene Schallner
parent 74ff3a9e64
commit fa66746981
4 changed files with 208 additions and 107 deletions

View File

@@ -37,6 +37,7 @@ CONTENTS
3.3 Templates ................ |telekasten.templates|
3.4 Calendar ................. |telekasten.calendar|
3.5 Picker mappings .......... |telekasten.picker_mappings|
3.6 Mutliple home directories. |telekasten.switch_vaults|
4. Suggested mappings ............ |telekasten.mappings|
5. Credits ....................... |telekasten.credits|
@@ -125,6 +126,7 @@ telekasten.setup({opts})
-- 'left'
-- 'right'
-- 'left-fit'
},
-- make syntax available to markdown buffers and telescope previewers
install_syntax = true,
@@ -142,6 +144,12 @@ telekasten.setup({opts})
-- when linking to a note in subdir/, create a [[subdir/title]] link
-- instead of a [[title only]] link
subdirs_in_links = true,
vaults = {
personal = {
--configuration for personal vault
}
},
}
<
@@ -911,6 +919,14 @@ the following mappings apply:
function. E.g. `insert_img_link()`'s action is to insert a link to the
selected image.
--------------------------------------------------------------------------------
Section 3.6 Mutliple home directories *telekasten.switch_vaults*
You can have multiple home directories setup in telekasten. The configuration
for each vault is stored as a map in telekasten. You can use `switch_vaults
to launch a picker to choose the vaults.
================================================================================
Section 4: Suggested Mappings *telekasten.mappings*