summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/diffview.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-07-12 21:46:07 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-07-12 21:46:07 +0200
commitdf211fae51faddd7b47b78806660e21f6ec1a694 (patch)
tree9884c4945a1e60f19c52e4746953f0212b7fc8a7 /fnl/plugins/editor/diffview.fnl
parent9ccdc18b7926ed5e069e7f305ac5ec304f87a65f (diff)
Debloat loading of plugins
Diffstat (limited to 'fnl/plugins/editor/diffview.fnl')
-rw-r--r--fnl/plugins/editor/diffview.fnl8
1 files changed, 8 insertions, 0 deletions
diff --git a/fnl/plugins/editor/diffview.fnl b/fnl/plugins/editor/diffview.fnl
new file mode 100644
index 0000000..c004199
--- /dev/null
+++ b/fnl/plugins/editor/diffview.fnl
@@ -0,0 +1,8 @@
+;; 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}]}