From f894a5d7f4dffb38c60a8cb632b65474dc3c5c31 Mon Sep 17 00:00:00 2001 From: Yongseok Jin Date: Fri, 11 Jul 2025 15:57:02 -0700 Subject: [PATCH] macos nvim config update --- init.lua | 2 ++ lua/custom/plugins/init.lua | 37 +++++++++++++++++++++++++++---------- 2 files changed, 29 insertions(+), 10 deletions(-) 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", + }, + }, + }, + }, }