Skip to content

Commit cbb10d4

Browse files
author
github-actions
committed
[docgen] Update doc/orgmode.txt
1 parent b3b8534 commit cbb10d4

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

doc/orgmode.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ Nested key example:
703703

704704
Lua expression example:
705705
>
706-
{
706+
{
707707
j = {
708708
description = 'Journal',
709709
template = '* %(return vim.fn.getreg "w")',
@@ -821,6 +821,25 @@ To disable all mappings, just pass `disable_all = true` to mappings settings:
821821
})
822822
<
823823

824+
To disable a specific mapping, set it's value to `false`:
825+
>
826+
require('orgmode').setup({
827+
org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
828+
org_default_notes_file = '~/Dropbox/org/refile.org',
829+
mappings = {
830+
global = {
831+
org_agenda = false,
832+
org_capture = 'gC'
833+
},
834+
agenda = {
835+
org_agenda_later = false
836+
}
837+
}
838+
})
839+
<
840+
841+
You can find the configuration file that holds all default mappings here (./lua/orgmode/config/mappings/init.lua)
842+
824843
NOTE: All mappings are normal mode mappings (`nnoremap`)
825844

826845
GLOBAL MAPPINGS *orgmode-global_mappings*

0 commit comments

Comments
 (0)