From df211fae51faddd7b47b78806660e21f6ec1a694 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 12 Jul 2023 21:46:07 +0200 Subject: Debloat loading of plugins --- fnl/plugins/tools/orgmode.fnl | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 fnl/plugins/tools/orgmode.fnl (limited to 'fnl/plugins/tools/orgmode.fnl') diff --git a/fnl/plugins/tools/orgmode.fnl b/fnl/plugins/tools/orgmode.fnl deleted file mode 100644 index bb67b88..0000000 --- a/fnl/plugins/tools/orgmode.fnl +++ /dev/null @@ -1,27 +0,0 @@ -;; Orgmode for nvim. - -(local templates - {:t {:description :Task :template "* TODO %?\n %u\n DEADLINE: %T\n"} - :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}) - -(fn setup [] - (let [orgmode (require :orgmode)] - (orgmode.setup_ts_grammar) - (orgmode.setup opts))) - -{1 :nvim-orgmode/orgmode - :config (fn [] - (setup)) - :event :BufReadPost - :keys [{1 :ga 2 :OrgAgendaPrompt :desc "Open agenda prompt"} - {1 :gc 2 :OrgCapturePrompt :desc "Open capture prompt"} - {1 :gm - 2 "Telescope orgmode search_headings theme=dropdown" - :desc "Search headings"}]} -- cgit v1.2.3-70-g09d2