Skip to content

Commit f894a5d

Browse files
committed
macos nvim config update
1 parent 55bafed commit f894a5d

2 files changed

Lines changed: 29 additions & 10 deletions

File tree

init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ vim.o.timeoutlen = 300
6969
vim.o.splitright = true
7070
vim.o.splitbelow = true
7171

72+
vim.opt.conceallevel = 1
73+
7274
-- Sets how neovim will display certain whitespace characters in the editor.
7375
-- See `:help 'list'`
7476
-- and `:help 'listchars'`

lua/custom/plugins/init.lua

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,31 @@ return {
4141
-- restriction_mode = "hint",
4242
-- }
4343
--},
44-
{
45-
"gbprod/substitute.nvim",
46-
config = function()
47-
vim.keymap.set("n", "s", require('substitute').operator, { noremap = true })
48-
vim.keymap.set("n", "ss", require('substitute').line, { noremap = true })
49-
vim.keymap.set("n", "S", require('substitute').eol, { noremap = true })
50-
vim.keymap.set("x", "s", require('substitute').visual, { noremap = true })
51-
end,
52-
opts = {},
53-
},
44+
--{
45+
-- "gbprod/substitute.nvim",
46+
-- config = function()
47+
-- vim.keymap.set("n", "s", require('substitute').operator, { noremap = true })
48+
-- vim.keymap.set("n", "ss", require('substitute').line, { noremap = true })
49+
-- vim.keymap.set("n", "S", require('substitute').eol, { noremap = true })
50+
-- vim.keymap.set("x", "s", require('substitute').visual, { noremap = true })
51+
-- end,
52+
-- opts = {}
53+
-- },
54+
{
55+
"epwalsh/obsidian.nvim",
56+
version = "*", -- recommended, use latest release instead of latest commit
57+
lazy = true,
58+
ft = "markdown",
59+
dependencies = {
60+
"nvim-lua/plenary.nvim",
61+
},
62+
opts = {
63+
workspaces = {
64+
{
65+
name = "personal",
66+
path = "~/wiki",
67+
},
68+
},
69+
},
70+
},
5471
}

0 commit comments

Comments
 (0)