File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ Nested key example:<br />
494
494
495
495
Lua expression example:<br />
496
496
``` lua
497
- {
497
+ {
498
498
j = {
499
499
description = ' Journal' ,
500
500
template = ' * %(return vim.fn.getreg "w")' ,
@@ -601,6 +601,26 @@ require('orgmode').setup({
601
601
})
602
602
```
603
603
604
+ To disable a specific mapping, set it's value to ` false ` :
605
+
606
+ ``` lua
607
+ require (' orgmode' ).setup ({
608
+ org_agenda_files = {' ~/Dropbox/org/*' , ' ~/my-orgs/**/*' },
609
+ org_default_notes_file = ' ~/Dropbox/org/refile.org' ,
610
+ mappings = {
611
+ global = {
612
+ org_agenda = false ,
613
+ org_capture = ' gC'
614
+ },
615
+ agenda = {
616
+ org_agenda_later = false
617
+ }
618
+ }
619
+ })
620
+ ```
621
+
622
+ You can find the configuration file that holds all default mappings [ here] ( ./lua/orgmode/config/mappings/init.lua )
623
+
604
624
** NOTE** : All mappings are normal mode mappings (` nnoremap ` )
605
625
606
626
### Global mappings
You can’t perform that action at this time.
0 commit comments