summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/diffview.fnl
diff options
context:
space:
mode:
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}]}