macos nvim config update

This commit is contained in:
Yongseok Jin 2025-07-11 15:57:02 -07:00
parent 55bafed43d
commit f894a5d7f4
2 changed files with 29 additions and 10 deletions

View File

@ -69,6 +69,8 @@ vim.o.timeoutlen = 300
vim.o.splitright = true vim.o.splitright = true
vim.o.splitbelow = true vim.o.splitbelow = true
vim.opt.conceallevel = 1
-- Sets how neovim will display certain whitespace characters in the editor. -- Sets how neovim will display certain whitespace characters in the editor.
-- See `:help 'list'` -- See `:help 'list'`
-- and `:help 'listchars'` -- and `:help 'listchars'`

View File

@ -40,15 +40,32 @@ return {
-- max_count = 10, -- max_count = 10,
-- restriction_mode = "hint", -- 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", "epwalsh/obsidian.nvim",
config = function() version = "*", -- recommended, use latest release instead of latest commit
vim.keymap.set("n", "s", require('substitute').operator, { noremap = true }) lazy = true,
vim.keymap.set("n", "ss", require('substitute').line, { noremap = true }) ft = "markdown",
vim.keymap.set("n", "S", require('substitute').eol, { noremap = true }) dependencies = {
vim.keymap.set("x", "s", require('substitute').visual, { noremap = true }) "nvim-lua/plenary.nvim",
end, },
opts = {}, opts = {
workspaces = {
{
name = "personal",
path = "~/wiki",
},
},
},
}, },
} }