about summary refs log tree commit diff
path: root/fnl/nvrc/packs/diffview.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/packs/diffview.fnl')
-rw-r--r--fnl/nvrc/packs/diffview.fnl7
1 files changed, 7 insertions, 0 deletions
diff --git a/fnl/nvrc/packs/diffview.fnl b/fnl/nvrc/packs/diffview.fnl
new file mode 100644
index 0000000..a32dea5
--- /dev/null
+++ b/fnl/nvrc/packs/diffview.fnl
@@ -0,0 +1,7 @@
+(local {: setup} (require :diffview))
+
+(setup {:enhanced_diff_hl true
+        :use_icons false
+        :key_bindings {:file_panel {:q "<cmd>DiffviewClose<cr>"}
+                       :file_history_panel {:q "<cmd>DiffviewClose<cr>"}
+                       :view {:q "<cmd>DiffviewClose<cr>"}}})