diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-07-12 21:46:07 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-07-12 21:46:07 +0200 |
commit | df211fae51faddd7b47b78806660e21f6ec1a694 (patch) | |
tree | 9884c4945a1e60f19c52e4746953f0212b7fc8a7 /fnl/plugins/tools | |
parent | 9ccdc18b7926ed5e069e7f305ac5ec304f87a65f (diff) |
Debloat loading of plugins
Diffstat (limited to 'fnl/plugins/tools')
-rw-r--r-- | fnl/plugins/tools/diffview.fnl | 8 | ||||
-rw-r--r-- | fnl/plugins/tools/neogit.fnl | 7 | ||||
-rw-r--r-- | fnl/plugins/tools/orgmode.fnl | 27 |
3 files changed, 0 insertions, 42 deletions
diff --git a/fnl/plugins/tools/diffview.fnl b/fnl/plugins/tools/diffview.fnl deleted file mode 100644 index c004199..0000000 --- a/fnl/plugins/tools/diffview.fnl +++ /dev/null @@ -1,8 +0,0 @@ -;; Inspect commits. - -{1 :sindrets/diffview.nvim - :cmd [:DiffviewFileHistory :DiffviewOpen] - :config true - :keys [{1 :md 2 :<cmd>DiffviewFileHistory<cr> :desc :DiffviewFileHistory} - {1 :mx 2 "<cmd>DiffviewOpen -uno<cr>" :desc :DiffviewOpen} - {1 :mz 2 :<cmd>DiffviewClose<cr> :desc :DiffviewClose}]} diff --git a/fnl/plugins/tools/neogit.fnl b/fnl/plugins/tools/neogit.fnl deleted file mode 100644 index e9c6235..0000000 --- a/fnl/plugins/tools/neogit.fnl +++ /dev/null @@ -1,7 +0,0 @@ -;; Git ui. - -{1 :TimUntersberger/neogit - :cmd :Neogit - :config true - :dependencies [:nvim-lua/plenary.nvim] - :keys [{1 :mn 2 :<cmd>Neogit<cr> :desc :Neogit}]} 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 :<cmd>OrgAgendaPrompt<cr> :desc "Open agenda prompt"} - {1 :gc 2 :<cmd>OrgCapturePrompt<cr> :desc "Open capture prompt"} - {1 :gm - 2 "<cmd>Telescope orgmode search_headings theme=dropdown<cr>" - :desc "Search headings"}]} |