diff options
author | Chris Patti <feoh@feoh.org> | 2023-06-02 15:21:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 15:21:05 -0400 |
commit | e15e7f4bda880b17c89327003877c6cff55d7958 (patch) | |
tree | 361228e816969815d05e635a3fa37f38e7d1506f /init.lua | |
parent | 853b7c9d9e0e51cd7b9728242e309e33d6f77cac (diff) | |
parent | 83b65a1c7d4a5ae9454426e88be823c203d14a73 (diff) |
Merge pull request #323 from luizcalliari/master
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, }, |