From 7cf3d6d23b1e82577445a65018918f0b5c588c43 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 18 Sep 2023 11:50:11 +0200 Subject: Update git keys --- fnl/plugins/editor/diffview.fnl | 6 +++--- fnl/plugins/editor/gitsigns.fnl | 6 +----- fnl/plugins/editor/neogit.fnl | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/editor/diffview.fnl b/fnl/plugins/editor/diffview.fnl index c004199..9b49990 100644 --- a/fnl/plugins/editor/diffview.fnl +++ b/fnl/plugins/editor/diffview.fnl @@ -3,6 +3,6 @@ {1 :sindrets/diffview.nvim :cmd [:DiffviewFileHistory :DiffviewOpen] :config true - :keys [{1 :md 2 :DiffviewFileHistory :desc :DiffviewFileHistory} - {1 :mx 2 "DiffviewOpen -uno" :desc :DiffviewOpen} - {1 :mz 2 :DiffviewClose :desc :DiffviewClose}]} + :keys [{1 :gh 2 :DiffviewFileHistory :desc :DiffviewFileHistory} + {1 :go 2 "DiffviewOpen -uno" :desc :DiffviewOpen} + {1 :ga 2 :DiffviewClose :desc :DiffviewClose}]} diff --git a/fnl/plugins/editor/gitsigns.fnl b/fnl/plugins/editor/gitsigns.fnl index a89956a..8150f98 100644 --- a/fnl/plugins/editor/gitsigns.fnl +++ b/fnl/plugins/editor/gitsigns.fnl @@ -1,10 +1,6 @@ ;; Add git signs to source files. -(local keys [{1 :mq - 2 "Gitsigns diffthis HEAD" - :mode :n - :desc "Gitsigns diff"} - {1 :gR +(local keys [{1 :gR 2 "lua require 'gitsigns'.reset_buffer()" :mode :n :desc "Reset Buffer"} diff --git a/fnl/plugins/editor/neogit.fnl b/fnl/plugins/editor/neogit.fnl index e9c6235..f19c784 100644 --- a/fnl/plugins/editor/neogit.fnl +++ b/fnl/plugins/editor/neogit.fnl @@ -4,4 +4,4 @@ :cmd :Neogit :config true :dependencies [:nvim-lua/plenary.nvim] - :keys [{1 :mn 2 :Neogit :desc :Neogit}]} + :keys [{1 :gm 2 :Neogit :desc :Neogit}]} -- cgit v1.2.3-70-g09d2