-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwiki.lua
More file actions
28 lines (27 loc) · 814 Bytes
/
Copy pathwiki.lua
File metadata and controls
28 lines (27 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- Local wiki editing in Vim
---
--- Author: @lararosekelley
--- Last Modified: August 27th, 2025
return {
{
"MeanderingProgrammer/render-markdown.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
opts = {},
},
{
"echaya/neowiki.nvim",
opts = {
wiki_dirs = {
{ name = "Personal", path = os.getenv("VIM_WIKI_ROOT") or (vim.uv.os_homedir() .. "/notes") },
},
},
keys = {
{ "<leader>Wo", "<cmd>lua require('neowiki').open_wiki()<cr>", desc = "Open Wiki" },
{ "<leader>Wf", "<cmd>lua require('neowiki').open_wiki_floating()<cr>", desc = "Open Wiki in Floating Window" },
{ "<leader>Wt", "<cmd>lua require('neowiki').open_wiki_new_tab()<cr>", desc = "Open Wiki in Tab" },
},
},
}