diffview.nvim
diffview.nvim copied to clipboard
Custom diff map not honored
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?