From f3cb0e4fe65516137e84d6ccc54807cb96e6ef28 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 16 Oct 2022 01:54:52 +0200 Subject: Update diff keymaps --- fnl/config/which-key.fnl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 759166c..2fa2d5b 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -35,17 +35,14 @@ :noremap true :nowait true}) -(def- diff {:name :Diff - :m ["Gitsigns diffthis HEAD" "Gitsigns diff"] - :n [:DiffviewFileHistory :DiffviewFileHistory] - :e ["DiffviewOpen -uno" :DiffviewOpen] - :i [:DiffviewClose :DiffviewClose]}) - (def- mmappings {:a ["lua require('harpoon.mark').add_file()" :Harpoon] :b ["lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})" "Switch buffers"] - :d diff + :c [:DiffviewClose :DiffviewClose] + :d [:DiffviewFileHistory :DiffviewFileHistory] + :x ["DiffviewOpen -uno" :DiffviewOpen] + :q ["Gitsigns diffthis HEAD" "Gitsigns diff"] :f ["lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})" "Find files"] :g ["Telescope live_grep theme=ivy" "Find text"] -- cgit v1.2.3-70-g09d2