diff options
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/plugins/orgmode.fnl | 18 | ||||
-rw-r--r-- | fnl/settings/icons.fnl | 64 |
2 files changed, 49 insertions, 33 deletions
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 :<cmd>OrgAgendaPrompt<cr> :desc "Open agenda prompt"} {1 :gc 2 :<cmd>OrgCapturePrompt<cr> :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 :<c-e> :org_global_cycle :<s-e>}}}) @@ -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} diff --git a/fnl/settings/icons.fnl b/fnl/settings/icons.fnl index 080b1cb..9f53bbc 100644 --- a/fnl/settings/icons.fnl +++ b/fnl/settings/icons.fnl @@ -1,47 +1,49 @@ ;; Icons. -{:error "" - :warn "" - :hint "" - :info "" - :git " " - :search-project "" - :search-files "" - :search-text "" - :notebook "" - :recent-files "" - :cog "" - :org "" +{:caret ">" :checkmark "" - :right-arrow "" - :small-right-arrow "" - :guillemet "»" - :up : - :down : :close "" + :cmd "" + :code "" + :cog "" + :conflict "" + :document "" + :down : + :error "" + :filled-orb "●" + :filled-pentagon "" + :git " " :git-add "|" + :git-change-delete "~" :git-delete "_" :git-top-delete "‾" - :git-change-delete "~" :git-untracked "┆" - :telescope "" - :caret ">" - :cmd "" - :lightning "" - :document "" + :guillemet "»" + :hint "" + :ignored "" :import "" + :info "" :keyboard "" - :sleep "" - :filled-orb "●" + :lightning "" + :line "‒" + :notebook "" :orb "○" + :org "" :package "" - :vim "" - :code "" + :pentagon "" :play "" + :recent-files "" + :right-arrow "" + :search-files "" + :search-project "" + :search-text "" + :sleep "" + :small-right-arrow "" + :staged "" :star "" - :line "‒" - :ignored "" + :telescope "" :unstaged "" - :staged "" - :conflict "" + :up : + :vim "" + :warn "" } |