macos nvim config update
This commit is contained in:
parent
55bafed43d
commit
f894a5d7f4
2
init.lua
2
init.lua
|
|
@ -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'`
|
||||||
|
|
|
||||||
|
|
@ -41,14 +41,31 @@ return {
|
||||||
-- 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue