diff --git a/init.lua b/init.lua index a441552c..021c2490 100644 --- a/init.lua +++ b/init.lua @@ -69,6 +69,8 @@ vim.o.timeoutlen = 300 vim.o.splitright = true vim.o.splitbelow = true +vim.opt.conceallevel = 1 + -- Sets how neovim will display certain whitespace characters in the editor. -- See `:help 'list'` -- and `:help 'listchars'` diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index edfacf04..22bedb60 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -41,14 +41,31 @@ return { -- restriction_mode = "hint", -- } --}, - { - "gbprod/substitute.nvim", - config = function() - vim.keymap.set("n", "s", require('substitute').operator, { noremap = true }) - vim.keymap.set("n", "ss", require('substitute').line, { noremap = true }) - vim.keymap.set("n", "S", require('substitute').eol, { noremap = true }) - vim.keymap.set("x", "s", require('substitute').visual, { noremap = true }) - end, - opts = {}, - }, + --{ + -- "gbprod/substitute.nvim", + -- config = function() + -- vim.keymap.set("n", "s", require('substitute').operator, { noremap = true }) + -- vim.keymap.set("n", "ss", require('substitute').line, { noremap = true }) + -- vim.keymap.set("n", "S", require('substitute').eol, { noremap = true }) + -- vim.keymap.set("x", "s", require('substitute').visual, { noremap = true }) + -- end, + -- opts = {} + -- }, + { + "epwalsh/obsidian.nvim", + version = "*", -- recommended, use latest release instead of latest commit + lazy = true, + ft = "markdown", + dependencies = { + "nvim-lua/plenary.nvim", + }, + opts = { + workspaces = { + { + name = "personal", + path = "~/wiki", + }, + }, + }, + }, }