Skip to content

Commit cd03f84

Browse files
authored
fix note docs (#456)
1 parent af313c9 commit cd03f84

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

DOCS.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -722,21 +722,20 @@ Save note window content as closing note for a headline. Ignores first comment (
722722
#### **org_note_kill**
723723
*mapped to*: `<Leader>ok`<br />
724724
Close note window without saving anything
725-
#### **org_capture_show_help**
725+
#### **org_note_show_help**
726726
*mapped to*: `g?`<br />
727727
Show help popup with mappings
728728

729-
These mappings live under `mappings.capture`, and can be changed like this:
729+
These mappings live under `mappings.note`, and can be changed like this:
730730

731731
```lua
732732
require('orgmode').setup({
733733
org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
734734
org_default_notes_file = '~/Dropbox/org/refile.org',
735735
mappings = {
736-
capture = {
737-
org_capture_finalize = '<Leader>w',
738-
org_capture_refile = 'R',
739-
org_capture_kill = 'Q'
736+
note = {
737+
org_note_finalize = '<Leader>w',
738+
org_note_kill = 'Q'
740739
}
741740
}
742741
})

doc/orgmode.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ CONTENTS *orgmode-content
8787
1.3.4. Closing note mappings...............|orgmode-closing_note_mappings|
8888
1.3.4.1. org_note_finalize.................|orgmode-org_note_finalize|
8989
1.3.4.2. org_note_kill.........................|orgmode-org_note_kill|
90-
1.3.4.3. org_capture_show_help.........|orgmode-org_capture_show_help|
90+
1.3.4.3. org_note_show_help...............|orgmode-org_note_show_help|
9191
1.3.5. Org mappings.................................|orgmode-org_mappings|
9292
1.3.5.1. org_refile...............................|orgmode-org_refile|
9393
1.3.5.2. org_timestamp_up...................|orgmode-org_timestamp_up|
@@ -999,21 +999,20 @@ ORG_NOTE_KILL *orgmode-org_note_kil
999999
mapped to: `<Leader>ok`
10001000
Close note window without saving anything
10011001

1002-
ORG_CAPTURE_SHOW_HELP *orgmode-org_capture_show_help*
1002+
ORG_NOTE_SHOW_HELP *orgmode-org_note_show_help*
10031003

10041004
mapped to: `g?`
10051005
Show help popup with mappings
10061006

1007-
These mappings live under `mappings.capture`, and can be changed like this:
1007+
These mappings live under `mappings.note`, and can be changed like this:
10081008
>
10091009
require('orgmode').setup({
10101010
org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
10111011
org_default_notes_file = '~/Dropbox/org/refile.org',
10121012
mappings = {
1013-
capture = {
1014-
org_capture_finalize = '<Leader>w',
1015-
org_capture_refile = 'R',
1016-
org_capture_kill = 'Q'
1013+
note = {
1014+
org_note_finalize = '<Leader>w',
1015+
org_note_kill = 'Q'
10171016
}
10181017
}
10191018
})

0 commit comments

Comments
 (0)