about summary refs log tree commit diff
path: root/fnl/nvrc/packs/diffview.fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-16 08:54:25 +0900
committersefidel <contact@sefidel.net>2022-02-16 17:16:41 +0900
commit2fb74089d3515077395299bce9df32e9e989a8ac (patch)
treeb7e8064cff1c687a11788ab96f96cbcf6d3c88fa /fnl/nvrc/packs/diffview.fnl
parent6b4cacae7b9c435666c2ec399261f6504336bdce (diff)
downloadnvimrc-2fb74089d3515077395299bce9df32e9e989a8ac.tar.gz
nvimrc-2fb74089d3515077395299bce9df32e9e989a8ac.zip
rel: v0.1
- Disable lazy-loading plugins
- Add more useful plugins
- Fix bar from loading slowly
- Add support for neomutt
- Change keybinds
- Add Editorconfig
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>"}}})