From a5836620b905b4c4c5aea6af58c311c5f9a4304b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 4 Jan 2023 10:58:34 +0000 Subject: [PATCH] Fix mutliple assigned keymap --- lua/config_plugins/config_gitsigns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/config_plugins/config_gitsigns.lua b/lua/config_plugins/config_gitsigns.lua index 88cd1a43..5ea58e9f 100644 --- a/lua/config_plugins/config_gitsigns.lua +++ b/lua/config_plugins/config_gitsigns.lua @@ -8,7 +8,7 @@ require('gitsigns').setup { -- Setup keymaps vim.api.nvim_buf_set_keymap(bufnr, 'n', '[g', 'Gitsigns prev_hunk', {}) vim.api.nvim_buf_set_keymap(bufnr, 'n', ']g', 'Gitsigns next_hunk', {}) - vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', 'Gitsigns diffthis', {}) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'd', 'Gitsigns diffthis', {}) vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gq', 'Gitsigns setqflist', {}) vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gl', 'Gitsigns setloclist', {}) vim.api.nvim_buf_set_keymap(bufnr, 'n', 'hp', 'Gitsigns preview_hunk', {})