refactor(nvim): remove orgmode

This commit is contained in:
Price Hiller 2023-10-04 20:35:59 -05:00
parent a51df0dd94
commit 034a1e9335
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 3 additions and 45 deletions

View File

@ -8,9 +8,9 @@ return {
{ "nvim-treesitter/nvim-treesitter" },
},
keys = {
{ "<leader>N", desc = "> Neorg" },
{ "<leader>Nj", ":Neorg journal custom<CR>", desc = "Neorg: Journal" },
{ "<leader>Nt", ":Neorg toc<CR>", desc = "Neorg: Table of Contents" },
{ "<leader>o", desc = "> Neorg" },
{ "<leader>oj", ":Neorg journal custom<CR>", desc = "Neorg: Journal" },
{ "<leader>ot", ":Neorg toc<CR>", desc = "Neorg: Table of Contents" },
},
config = function()
require("neorg").setup({

View File

@ -1,42 +0,0 @@
return {
{
"nvim-orgmode/orgmode",
dependencies = {
{ "nvim-treesitter/nvim-treesitter" },
{
"akinsho/org-bullets.nvim",
opts = {
concealcursor = true,
symbols = {
headlines = {
"󰀘",
"",
"󰺕",
"",
"󰬪",
"󱆭",
}
}
}
}
},
ft = { "org" },
keys = {
{ "<leader>o", desc = "> Org" },
},
config = function()
-- Load treesitter grammar for org
require("orgmode").setup_ts_grammar()
-- Setup orgmode
require("orgmode").setup({
org_agenda_files = "~/Notes/**/*",
org_default_notes_file = "~/Notes/refile.org",
org_startup_folded = "inherit"
})
if vim.bo.filetype == "org" then
vim.cmd.edit()
end
end,
}
}