diffview.nvim icon indicating copy to clipboard operation
diffview.nvim copied to clipboard

Custom diff map not honored

Open brucejxz opened this issue 2 years ago • 0 comments

Hey. So I have a the following mappings set up to centralise the diff hunk after jumping to it:

vim.keymap.set('n', '[c', '[czz', { desc = 'Jump to previous hunk' })
vim.keymap.set('n', ']c', ']czz', { desc = 'Jump to next hunk' })

These work when I run:

nvim -d file_1 file_2

But they don't work in a :DiffviewOpen view. Any idea why not?

brucejxz avatar Feb 04 '24 19:02 brucejxz