From 9a81aaba578dc6f5cce832ff8db76be7e7cb16d3 Mon Sep 17 00:00:00 2001 From: Rob Harbaugh Date: Tue, 18 Nov 2025 21:59:39 -0500 Subject: [PATCH] pushing updates --- init.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/init.lua b/init.lua index 71c6998..aead65f 100644 --- a/init.lua +++ b/init.lua @@ -710,6 +710,7 @@ require('lazy').setup({ { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'path' }, + { name = 'orgmode' }, }, } end, @@ -851,6 +852,26 @@ require('lazy').setup({ { 'gg', 'LazyGit', desc = 'LazyGit' }, }, }, + { + 'nvim-orgmode/orgmode', + event = 'VeryLazy', + ft = { 'org' }, + config = function() + --Setup orgmode + require('orgmode').setup { + org_agenda_files = '~/org/**/*', + org_default_notes_file = '~/org/default.org', + mappings = { + org = { + org_toggle_checkbox = '', + }, + }, + } + -- Setup org-specific keybindings + vim.keymap.set('n', 'oa', 'lua require("orgmode").action("agenda.prompt")', { desc = '[O]rg [A]genda' }) + vim.keymap.set('n', 'oc', 'lua require("orgmode").action("agenda.prompt")', { desc = '[O]rg [C]apture' }) + end, + }, -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and