From decd051e314cc14bc8942980e28139c318fa6fd1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 23 Jan 2025 23:47:28 +0100 Subject: Update diffview keymaps --- fnl/plugins/diffview.fnl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'fnl') diff --git a/fnl/plugins/diffview.fnl b/fnl/plugins/diffview.fnl index f041ab6..33fd763 100644 --- a/fnl/plugins/diffview.fnl +++ b/fnl/plugins/diffview.fnl @@ -1,25 +1,25 @@ ;; Inspect commits. (local keys - [{1 :is + [{1 :dh 2 :DiffviewFileHistory :desc "Repository history" :nowait true} - {1 :it + {1 :df 2 "DiffviewFileHistory --follow %" :desc "File history"} - {1 :ir 2 :DiffviewOpen :desc :Diffview} - {1 :ia + {1 :do 2 :DiffviewOpen :desc :Diffview} + {1 :dm 2 "DiffviewOpen master" :desc "Diffview with master"} - {1 :if + {1 :dl 2 ".DiffviewFileHistory --follow" :desc "Line history"} - {1 :ip + {1 :dv 2 "'<,'>DiffviewFileHistory --follow" :desc "Range history" :mode :v} - {1 :ic 2 :DiffviewClose :desc "Close diffview"}]) + {1 :dc 2 :DiffviewClose :desc "Close diffview"}]) {1 :sindrets/diffview.nvim :cmd [:DiffviewFileHistory :DiffviewOpen] -- cgit v1.2.3-70-g09d2