diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-18 11:50:11 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-18 11:50:11 +0200 |
commit | 7cf3d6d23b1e82577445a65018918f0b5c588c43 (patch) | |
tree | 539eb7bfa4d25747183f1848ebd3409b65205ade /fnl/plugins | |
parent | 072ab110b43f112f0a42005e950a15a0b22ae490 (diff) |
Update git keys
Diffstat (limited to 'fnl/plugins')
-rw-r--r-- | fnl/plugins/editor/diffview.fnl | 6 | ||||
-rw-r--r-- | fnl/plugins/editor/gitsigns.fnl | 6 | ||||
-rw-r--r-- | fnl/plugins/editor/neogit.fnl | 2 |
3 files changed, 5 insertions, 9 deletions
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 :<cmd>DiffviewFileHistory<cr> :desc :DiffviewFileHistory} - {1 :mx 2 "<cmd>DiffviewOpen -uno<cr>" :desc :DiffviewOpen} - {1 :mz 2 :<cmd>DiffviewClose<cr> :desc :DiffviewClose}]} + :keys [{1 :<leader>gh 2 :<cmd>DiffviewFileHistory<cr> :desc :DiffviewFileHistory} + {1 :<leader>go 2 "<cmd>DiffviewOpen -uno<cr>" :desc :DiffviewOpen} + {1 :<leader>ga 2 :<cmd>DiffviewClose<cr> :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 "<cmd>Gitsigns diffthis HEAD<cr>" - :mode :n - :desc "Gitsigns diff"} - {1 :<leader>gR +(local keys [{1 :<leader>gR 2 "<cmd>lua require 'gitsigns'.reset_buffer()<cr>" :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 :<cmd>Neogit<cr> :desc :Neogit}]} + :keys [{1 :<leader>gm 2 :<cmd>Neogit<cr> :desc :Neogit}]} |