Compare commits
1 Commits
2a39dd7c15
...
495738e490
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
495738e490 |
2
init.lua
2
init.lua
@@ -65,7 +65,7 @@ vim.keymap.set("n", "<leader>qs", function() -- quit and save session local
|
|||||||
end, { noremap = true })
|
end, { noremap = true })
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>qw", function() -- quit and save session global
|
vim.keymap.set("n", "<leader>qw", function() -- quit and save session global
|
||||||
MiniSessions.write(vim.cmd("pwd"))
|
MiniSessions.write()
|
||||||
vim.cmd("wqa")
|
vim.cmd("wqa")
|
||||||
end, { noremap = true })
|
end, { noremap = true })
|
||||||
|
|
||||||
|
|||||||
@@ -38,4 +38,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
-- automatically check for plugin updates
|
-- automatically check for plugin updates
|
||||||
checker = { enabled = false },
|
checker = { enabled = false },
|
||||||
|
performance = {
|
||||||
|
reset_packpath = false,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
return {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
-- Important: On NixOS, we don't want lazy to build it
|
||||||
|
build = false,
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
require("nvim-treesitter").setup({
|
||||||
|
-- Disable auto_install so it doesn't try to use 'git' or 'curl'
|
||||||
|
auto_install = false,
|
||||||
|
highlight = { enable = true },
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|||||||
21
lua/plugins/functional/neorg.lua
Normal file
21
lua/plugins/functional/neorg.lua
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
return {
|
||||||
|
"nvim-neorg/neorg",
|
||||||
|
build = false,
|
||||||
|
dependencies = { "nvim-lua/plenary.nvim", "nvim-neorg/tree-sitter-norg" },
|
||||||
|
config = function()
|
||||||
|
require("neorg").setup({
|
||||||
|
load = {
|
||||||
|
["core.defaults"] = {}, -- Loads default settings
|
||||||
|
["core.concealer"] = {}, -- Adds pretty icons/formatting
|
||||||
|
["core.dirman"] = { -- Manages your workspaces
|
||||||
|
config = {
|
||||||
|
workspaces = {
|
||||||
|
notes = "~/notes",
|
||||||
|
},
|
||||||
|
default_workspace = "notes",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user