mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
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:
@@ -368,6 +368,13 @@ require('telekasten').setup({
|
||||
|
||||
-- should all links be updated when a file is renamed
|
||||
rename_update_links = true,
|
||||
|
||||
vaults = {
|
||||
vault2 = {
|
||||
-- alternate configuration for vault2 here. Missing values are defaulted to
|
||||
-- default values from telekasten.
|
||||
},
|
||||
},
|
||||
})
|
||||
END
|
||||
```
|
||||
@@ -632,6 +639,7 @@ The plugin defines the following functions:
|
||||
- `panel()` : brings up the command palette
|
||||
- `show_tags()` : brings up the tag list. From there you can select a tag to search for tagged notes - or yank or insert the tag
|
||||
- `rename_note()` : rename the current note and update the links pointing to it
|
||||
- `switch_vault()` : switch the vault
|
||||
|
||||
To use one of the functions above, just run them with the `:lua ...` command.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user