Orgmode mappings <C-M-(left,right)> to promote/demote subtree, diags no multiline

This commit is contained in:
2025-07-21 10:25:28 +02:00
parent 74baebf3f8
commit 59f4064788

View File

@@ -168,10 +168,13 @@ require("lazy").setup({
config = function()
-- Setup orgmode
require('orgmode').setup({
-- cf: https://github.com/nvim-orgmode/orgmode/blob/master/docs/configuration.org#mappings
mappings = {
org = {
org_move_subtree_up = { '<Leader>oK', '<C-M-Up>' },
org_move_subtree_down = { '<Leader>oJ', '<C-M-Down>' },
org_promote_subtree = { '<s', '<C-M-Left>' },
org_demote_subtree = { '>s', '<C-M-Right>' },
}
},
-- org_agenda_files = '~/orgfiles/**/*',
@@ -607,10 +610,6 @@ require("lazy").setup({
use_icons_from_diagnostic = true,
enable_on_insert = true,
show_all_diags_on_cursorline = true,
multilines = {
enabled = true,
always_show = true,
}
}
})
vim.diagnostic.config({ virtual_text = false }) -- Only if needed in your configuration, if you already have native LSP diagnostics