Compare commits

..

1 Commits

Author SHA1 Message Date
9a81aaba57 pushing updates 2025-11-18 21:59:39 -05:00

View File

@@ -710,6 +710,7 @@ require('lazy').setup({
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'luasnip' }, { name = 'luasnip' },
{ name = 'path' }, { name = 'path' },
{ name = 'orgmode' },
}, },
} }
end, end,
@@ -851,6 +852,26 @@ require('lazy').setup({
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' }, { '<leader>gg', '<cmd>LazyGit<cr>', 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 = '<C-Space>',
},
},
}
-- Setup org-specific keybindings
vim.keymap.set('n', '<leader>oa', '<cmd>lua require("orgmode").action("agenda.prompt")<CR>', { desc = '[O]rg [A]genda' })
vim.keymap.set('n', '<leader>oc', '<cmd>lua require("orgmode").action("agenda.prompt")<CR>', { desc = '[O]rg [C]apture' })
end,
},
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- 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 -- init.lua. If you want these files, they are in the repository, so you can just download them and