summaryrefslogtreecommitdiff
path: root/fnl/plugins/tools/diffview.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-17 00:08:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-17 00:08:43 +0100
commita48ba3f7dfe35c7ca622e63a72574134788d68c7 (patch)
tree0675dc0f5e950c8739b63da29568d083e9c1d057 /fnl/plugins/tools/diffview.fnl
parent10b175f252104458d7478d8a2822818850cfdf92 (diff)
Update key mappings
Diffstat (limited to 'fnl/plugins/tools/diffview.fnl')
-rw-r--r--fnl/plugins/tools/diffview.fnl5
1 files changed, 4 insertions, 1 deletions
diff --git a/fnl/plugins/tools/diffview.fnl b/fnl/plugins/tools/diffview.fnl
index 9978c2e..c004199 100644
--- a/fnl/plugins/tools/diffview.fnl
+++ b/fnl/plugins/tools/diffview.fnl
@@ -2,4 +2,7 @@
{1 :sindrets/diffview.nvim
:cmd [:DiffviewFileHistory :DiffviewOpen]
- :config true}
+ :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}]}