summaryrefslogtreecommitdiff
path: root/fnl/config/orgmode.fnl
blob: ceea169895d67e8cc5b318d13956cb25a9d71757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; Orgmode for nvim.
(module config.orgmode
  {autoload {util util}})

(let [(ok? orgmode) util.load-plugin :orgmode]
  (when ok?
    (do
      (orgmode.setup_ts_grammar)
      (orgmode.setup
        {:org_agenda_files { "~/.local/share/org/**/*" }
         :org_default_notes_file "~/.local/share/org/refile.org"
         :org_agenda_templates {
           :t { :description "Task" :template "* TODO %?\n %u" }
           :m {
             :description "Meeting"
             :template "* MEETING %? :MEETING:\n  :LOGBOOK:\n  CLOCK: %U\n  :END:"}
           :n { :description "Note" :template "* NOTE %? :NOTE:\n %u" }}}))))