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.splitbelow = true
|
||||
|
||||
vim.opt.conceallevel = 1
|
||||
|
||||
-- Sets how neovim will display certain whitespace characters in the editor.
|
||||
-- See `:help 'list'`
|
||||
-- and `:help 'listchars'`
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue