diff options
author | Luiz Antonio Calliari Filho <luzcalliari.filho@protonmail.com> | 2023-05-25 22:09:34 -0300 |
---|---|---|
committer | Luiz Antonio Calliari Filho <luzcalliari.filho@protonmail.com> | 2023-05-25 22:09:34 -0300 |
commit | 83b65a1c7d4a5ae9454426e88be823c203d14a73 (patch) | |
tree | f1e33e151852558a859f914c699e05071765602b /init.lua | |
parent | f031fa45093193110112d2ff6663659b1ed6ff98 (diff) |
FIX: Conflict with vimdiff keybinding
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,8 +122,8 @@ require('lazy').setup({ changedelete = { text = '~' }, }, on_attach = function(bufnr) - vim.keymap.set('n', '[c', require('gitsigns').prev_hunk, { buffer = bufnr, desc = 'Go to Previous Hunk' }) - vim.keymap.set('n', ']c', require('gitsigns').next_hunk, { buffer = bufnr, desc = 'Go to Next Hunk' }) + vim.keymap.set('n', '<leader>gp', require('gitsigns').prev_hunk, { buffer = bufnr, desc = '[G]o to [P]revious Hunk' }) + vim.keymap.set('n', '<leader>gn', require('gitsigns').next_hunk, { buffer = bufnr, desc = '[G]o to [N]ext Hunk' }) vim.keymap.set('n', '<leader>ph', require('gitsigns').preview_hunk, { buffer = bufnr, desc = '[P]review [H]unk' }) end, }, |