diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-04 22:34:52 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-04 22:34:52 +0200 |
commit | 06706aeca06432e77bebe95ad1aaf0606d9863e6 (patch) | |
tree | 5dfc1361aa02bbb1a5f368d85046ea97786b79cc /fnl/config | |
parent | 4014950ee18cb6f5ec777a75d941b2563dd2ccf6 (diff) |
feat(orgmode): add fnl config
Diffstat (limited to 'fnl/config')
-rw-r--r-- | fnl/config/orgmode.fnl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fnl/config/orgmode.fnl b/fnl/config/orgmode.fnl new file mode 100644 index 0000000..ceea169 --- /dev/null +++ b/fnl/config/orgmode.fnl @@ -0,0 +1,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" }}})))) |