neorg config improvements. Remove mind.

This commit is contained in:
Salar Rahmanian 2023-10-17 07:45:29 -07:00
parent 9de4e06a7d
commit 8afb4ac78d
2 changed files with 16 additions and 22 deletions

View file

@ -1,19 +0,0 @@
return {
"phaazon/mind.nvim",
branch = "v2.2",
keys = {
{ "<leader>nm", "<cmd>MindOpenMain<cr>", desc = "Open Main Mind" },
{ "<leader>np", "<cmd>MindOpenProject<cr>", desc = "Open Mind for current project" },
{ "<leader>ns", "<cmd>MindOpenSmartProject<cr>", desc = "Open Mind for smart project" },
{ "<leader>nc", "<cmd>MindClose<cr>", desc = "Close Mind" },
{ "<leader>nr", "<cmd>MindReloadState<cr>", desc = "Mind: Reload State" },
},
config = function()
require("mind").setup({
persistence = {
data_dir = "~/Documents/mind.nvim/data",
state_path = "~/Documents/mind.nvim/mind.json",
},
})
end,
}

View file

@ -1,17 +1,30 @@
return {
"nvim-neorg/neorg",
lazy = false,
build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" },
keys = {
{ "<leader>ni", "<cmd>Neorg index<cr>", desc = "Index" },
{ "<leader>ns", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Generate Workspace Summary" },
{ "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Journal Today" },
{ "<leader>njT", "<cmd>Neorg journal template<cr>", desc = "Journal Template" },
},
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {}, -- Loads default behaviour
["core.concealer"] = {}, -- Adds pretty icons to your documents
["core.dirman"] = { -- Manages Neorg workspaces
["core.defaults"] = {},
["core.summary"] = {},
["core.ui.calendar"] = {},
["core.concealer"] = {
icon_preset = "diamond"
},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
til = "~/til",
},
default_workspace = "notes",
},
},
},