From fa266335036aba72372796468ddedaeb06bc3465 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 21 Feb 2024 00:53:36 +0100 Subject: Update orgmode --- fnl/plugins/orgmode.fnl | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/orgmode.fnl b/fnl/plugins/orgmode.fnl index bbd75ac..ba562e7 100644 --- a/fnl/plugins/orgmode.fnl +++ b/fnl/plugins/orgmode.fnl @@ -1,5 +1,7 @@ ;; Orgmode for nvim. +(local icons (require :settings.icons)) + (local keys [{1 :ga 2 :OrgAgendaPrompt :desc "Open agenda prompt"} {1 :gc 2 :OrgCapturePrompt :desc "Open capture prompt"} {1 :go @@ -43,6 +45,8 @@ {:org_agenda_files ["~/.local/share/org/**/*"] :org_hide_emphasis_markers true :org_agenda_start_on_weekday false + :org_startup_indented true + :org_log_into_drawer :LOGBOOK :org_default_notes_file "~/.local/share/org/refile.org" :org_agenda_templates templates :mappings {:org {:org_cycle : :org_global_cycle :}}}) @@ -52,11 +56,21 @@ bullets (require :org-bullets)] (orgmode.setup_ts_grammar) (orgmode.setup opts) - (bullets.setup {:concealcursor true}))) + (bullets.setup {:concealcursor true + :symbols {:list (. icons :line) + :headlines [(. icons :orb) + (. icons :filled-orb) + (. icons :pentagon) + (. icons :filled-pentagon)] + :checkboxes {:half [(. icons :line) + "@org.checkbox.halfchecked"] + :done [(. icons :checkmark) + "@org.checkbox.checked"] + :todo [" " "@org.checkbox.checked"]}}}))) {1 :nvim-orgmode/orgmode :dependencies :akinsho/org-bullets.nvim - :ft :org + :ft [:org :orgagenda] : config : init : keys} -- cgit v1.2.3-70-g09d2