Org Roam added, orgmode now with C-M-Up / -Down to move trees

This commit is contained in:
2025-05-23 22:32:23 +02:00
parent 3d6d0b38f3
commit 6c8b1c87d4

View File

@@ -85,8 +85,16 @@ require("lazy").setup({
config = function() config = function()
-- Setup orgmode -- Setup orgmode
require('orgmode').setup({ require('orgmode').setup({
org_agenda_files = '~/orgfiles/**/*', mappings = {
org_default_notes_file = '~/orgfiles/refile.org', org = {
org_move_subtree_up = { '<Leader>oK', '<C-M-Up>' },
org_move_subtree_down = { '<Leader>oJ', '<C-M-Down>' },
}
},
-- org_agenda_files = '~/orgfiles/**/*',
-- org_default_notes_file = '~/orgfiles/refile.org',
org_agenda_files = '~/Documents/Eigene (Briefe etc.)/org/*.org',
org_default_notes_file = '~/Documents/Eigene (Briefe etc.)/org/refile.org',
org_todo_keywords = { 'TODO(t)', 'STARTED(s)', 'PLANNED(p)', '|', 'DONE(d)', 'UNPLANNED(u)' }, org_todo_keywords = { 'TODO(t)', 'STARTED(s)', 'PLANNED(p)', '|', 'DONE(d)', 'UNPLANNED(u)' },
org_custom_exports = { org_custom_exports = {
f = { f = {
@@ -119,6 +127,25 @@ require("lazy").setup({
end, end,
}, },
-- org-roam - lets try it out (2025-05-20)
{
"chipsenkbeil/org-roam.nvim",
config = function()
require("org-roam").setup({
directory = "~/Documents/Eigene (Briefe etc.)/org/roam",
-- optional
-- org_files = {
-- "~/another_org_dir",
-- "~/some/folder/*.org",
-- "~/a/single/org_file.org",
-- }
bindings = {
prefix = "<LocalLeader>r"
}
})
end
},
-- comfortable table editing, esp. used in orgmode -- comfortable table editing, esp. used in orgmode
{ 'dhruvasagar/vim-table-mode' }, { 'dhruvasagar/vim-table-mode' },