Compare commits

..

3 Commits

Author SHA1 Message Date
550a5ca017
Merge remote-tracking branch 'refs/remotes/origin/master'
All checks were successful
Test templates, puts into cache / nix (nix-runner) (push) Successful in 5m14s
2025-04-02 10:33:32 -05:00
7de4c29700
formatting 2025-04-02 10:33:16 -05:00
2c9be80508
Adding iwki remap to obsidian 2025-04-02 10:32:40 -05:00
2 changed files with 20 additions and 1 deletions

View File

@ -160,6 +160,8 @@ in
oil-nvim oil-nvim
wiki-vim wiki-vim
# apparently these plugins can coexist
render-markdown-nvim
vim-markdown vim-markdown
cmp-buffer cmp-buffer
# vim-airline # vim-airline

View File

@ -1,4 +1,21 @@
vim.g.wiki_root = "/home/deepak/wiki" -- vim.g.wiki_root = "/home/deepak/wiki"
vim.g.wiki_root = vim.env.DPK_OBSIDIAN_DIR
vim.g.wiki_journal = {
name = "100-daily",
date_format = {
daily = "%Y/%m/%Y-%m-%d",
weekly = "%Y/week_%V",
monthly = "%Y/%m/summary.md",
},
}
vim.g.wiki_select_method = {
-- pages = require("wiki.ui_select").pages,
pages = "wiki#fzf#pages",
tags = require("wiki.ui_select").tags,
-- toc = require("wiki.ui_select").toc,
-- links = require("wiki.ui_select").links,
}
local function find_wiki_path_for_file(filename) local function find_wiki_path_for_file(filename)
-- recursively search for the file name in the wiki_root using ripgrep -- recursively search for the file name in the wiki_root using ripgrep