neorg: dirman not working, ugly fix
This commit is contained in:
parent
e125c201cb
commit
94cddafa6e
@ -256,7 +256,37 @@ require('lazy').setup({
|
|||||||
dependencies = { "luarocks.nvim" },
|
dependencies = { "luarocks.nvim" },
|
||||||
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
|
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
|
||||||
version = "*", -- Pin Neorg to the latest stable release
|
version = "*", -- Pin Neorg to the latest stable release
|
||||||
config = true,
|
config = function()
|
||||||
|
require("neorg").setup {
|
||||||
|
load = {
|
||||||
|
["core.defaults"] = {},
|
||||||
|
["core.concealer"] = {
|
||||||
|
config = {
|
||||||
|
icon_preset = "diamond",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
["core.dirman"] = {
|
||||||
|
config = {
|
||||||
|
workspaces = {
|
||||||
|
notes = "~/Sync/neorg",
|
||||||
|
},
|
||||||
|
default_workspace = "notes",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
["core.export"] = {
|
||||||
|
config = {
|
||||||
|
export_dir = "<export-dir>/<language>",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["core.esupports.metagen"] = {
|
||||||
|
config = {
|
||||||
|
author = "Chouhartem",
|
||||||
|
type = "empty",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
-- vim-speeddating
|
-- vim-speeddating
|
||||||
'tpope/vim-speeddating',
|
'tpope/vim-speeddating',
|
||||||
|
@ -38,35 +38,3 @@ vim.api.nvim_set_keymap("n", "<Leader>nee", ":Neorg export to-file /tmp/neorg-ex
|
|||||||
{ noremap = true, silent = true, desc = "[N]eorg [E]xport Predefined" })
|
{ noremap = true, silent = true, desc = "[N]eorg [E]xport Predefined" })
|
||||||
vim.api.nvim_set_keymap("n", "<Leader>nef", ":Neorg export to-file ",
|
vim.api.nvim_set_keymap("n", "<Leader>nef", ":Neorg export to-file ",
|
||||||
{ noremap = true, silent = true, desc = "[N]eorg [E]xport [F]ile" })
|
{ noremap = true, silent = true, desc = "[N]eorg [E]xport [F]ile" })
|
||||||
|
|
||||||
local neorg = require('neorg')
|
|
||||||
|
|
||||||
neorg.setup {
|
|
||||||
load = {
|
|
||||||
["core.defaults"] = {},
|
|
||||||
["core.concealer"] = {
|
|
||||||
config = {
|
|
||||||
icon_preset = "diamond",
|
|
||||||
}
|
|
||||||
},
|
|
||||||
["core.dirman"] = {
|
|
||||||
config = {
|
|
||||||
workspaces = {
|
|
||||||
notes = "~/Sync/neorg",
|
|
||||||
},
|
|
||||||
default_workspace = "notes",
|
|
||||||
}
|
|
||||||
},
|
|
||||||
["core.export"] = {
|
|
||||||
config = {
|
|
||||||
export_dir = "<export-dir>/<language>",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["core.esupports.metagen"] = {
|
|
||||||
config = {
|
|
||||||
author = "Chouhartem",
|
|
||||||
type = "empty",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user