From 34d5c56462ddf6aef4c754ba39e650fe540c67c3 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 11 Oct 2022 00:25:05 +0200 Subject: Remap neogit to mmappings --- fnl/config/which-key.fnl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fnl/config/which-key.fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 48a39be..8e89095 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -50,9 +50,10 @@ "Harpoon Prev"] :t ["Telescope harpoon marks" "Search Files"] :v ["lua vim.lsp.buf.rename()" :Rename] - :p ["SaveSession" "Save Session"] + :p [:SaveSession "Save Session"] :r ["lua require('harpoon.ui').toggle_quick_menu()" - "Harpoon UI"]}) + "Harpoon UI"] + :n [:Neogit :Neogit]}) (def- nopts {:mode :n :prefix : @@ -78,8 +79,8 @@ :C ["Telescope commands" :Commands]}) (def- git {:name :Git - :d ["DiffviewOpen" "Diffview"] - :D ["DiffviewFileHistory" "DiffviewFileHistory"] + :d ["Gitsigns diffthis HEAD" :Diff] + :D [:DiffviewFileHistory :DiffviewFileHistory] :j ["lua require 'gitsigns'.next_hunk()" "Next Hunk"] :k ["lua require 'gitsigns'.prev_hunk()" "Prev Hunk"] :l ["lua require 'gitsigns'.blame_line()" :Blame] @@ -92,8 +93,7 @@ :o ["Telescope git_status" "Open changed file"] :b ["Telescope git_branches" "Checkout branch"] :c ["Telescope git_commits" "Checkout commit"] - :d ["Gitsigns diffthis HEAD" :Diff] - :n [:Neogit :Neogit]}) + :d ["Gitsigns diffthis HEAD" :Diff]}) (def- lsp {:name :LSP :a ["lua vim.lsp.buf.code_action()" "Code Action"] -- cgit v1.2.3-70-g09d2