This commit is contained in:
iofq 2025-05-17 04:29:48 -05:00
parent 2bab00d2e3
commit f47fc0f76f
8 changed files with 118 additions and 8 deletions

View file

@ -37,7 +37,7 @@ return {
'MeanderingProgrammer/render-markdown.nvim',
event = 'VeryLazy',
opts = {
ft = { 'markdown', 'codecompanion' },
file_types = { 'markdown', 'codecompanion' },
},
},
{
@ -109,6 +109,7 @@ return {
'neogit',
'native_lsp',
'diagnostic',
'modes',
},
},
},
@ -148,4 +149,47 @@ return {
},
},
{ 'ThePrimeagen/refactoring.nvim', event = 'VeryLazy', config = true },
{
'nvim-orgmode/orgmode',
event = 'VeryLazy',
ft = { 'org' },
dependencies = 'nvim-treesitter',
keys = {
{
'<leader>oR',
'<cmd>e ~/orgfiles/refile.org<CR>',
desc = 'open org refile',
},
},
config = function()
require('orgmode').setup {
org_agenda_files = '~/orgfiles/**/*',
org_default_notes_file = '~/orgfiles/refile.org',
org_todo_keywords = {
'TODO',
'IN_PROGRESS',
'BLOCKED',
'|',
'DONE',
'NOT DOING',
},
org_capture_templates = {
l = {
description = 'Work Log',
template = '* %?',
target = '~/orgfiles/worklog.org',
},
},
}
vim.api.nvim_create_autocmd('FileType', {
pattern = 'org',
callback = function()
vim.keymap.set({ 'n', 'i' }, '\\\\', '<cmd>lua require("orgmode").action("org_mappings.meta_return")<CR>', {
silent = true,
buffer = true,
})
end,
})
end,
},
}