diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-04 13:25:02 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-04 13:25:02 +0100 |
commit | 912854306867f1b678f2932bfce302794fe1db09 (patch) | |
tree | 15e7b06ef46fb463869e241d91ca88ee9787fbbf /fnl | |
parent | 07d06aa89303e2a91d6b7e62a2112e7a44a0ce0a (diff) |
Update keymaps for cycling folds in org
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/plugins/orgmode.fnl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fnl/plugins/orgmode.fnl b/fnl/plugins/orgmode.fnl index abf98f7..bbd75ac 100644 --- a/fnl/plugins/orgmode.fnl +++ b/fnl/plugins/orgmode.fnl @@ -39,11 +39,13 @@ :m {:description :Meeting :template "* Meeting %?"} :n {:description :Note :template "* NOTE %? :NOTE:\n %u\n"}}) -(local opts {:org_agenda_files ["~/.local/share/org/**/*"] - :org_hide_emphasis_markers true - :org_agenda_start_on_weekday false - :org_default_notes_file "~/.local/share/org/refile.org" - :org_agenda_templates templates}) +(local opts + {:org_agenda_files ["~/.local/share/org/**/*"] + :org_hide_emphasis_markers true + :org_agenda_start_on_weekday false + :org_default_notes_file "~/.local/share/org/refile.org" + :org_agenda_templates templates + :mappings {:org {:org_cycle :<c-e> :org_global_cycle :<s-e>}}}) (fn config [] (let [orgmode (require :orgmode) |