Skip to content

Commit

Permalink
pkm: include obsidian plugin and basic config
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Aug 29, 2024
1 parent 418e92f commit 2b60d31
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lua/nxvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@ local modules = {
{ "dkarter/bullets.vim", ft = "markdown", config = "plugins.bullets" },
{ "iamcco/markdown-preview.nvim", build = "yarn", event = "VeryLazy", config = "plugins.markdown-preview" },
{ "tenxsoydev/vim-markdown-checkswitch", ft = "markdown" },
-- use nvim for PKM / Zettelkasten
-- { "renerocksai/telekasten.nvim", config = "plugins.telekasten" },
-- { "epwalsh/obsidian.nvim", config = "plugins.obsidian" },
-- PKM / Zettelkasten
{ "epwalsh/obsidian.nvim", config = "plugins.obsidian" },

-- Utility -------------------------------------------------------------------
{ "max397574/better-escape.nvim", event = "InsertEnter", config = "plugins.better-escape" }, -- remove delay from escape keys while typing in insert mode
Expand Down
13 changes: 13 additions & 0 deletions lua/nxvim/plugins/obsidian.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- https://github.com/epwalsh/obsidian.nvim

-- == [ Configuration =========================================================

require("obsidian").setup({
workspaces = {
{
name = "personal",
path = "~/Documents/Cerebro/Zettelkasten/vault/",
},
},
})
-- ]

0 comments on commit 2b60d31

Please sign in to comment.