Sanchayan Maity
a0739c3ef9
vim-signify recently fixed the below issue which was a problem earlier. https://github.com/mhinz/vim-signify/issues/345 Considering that gitsigns exhibits a problem where the complete sign column is marked while in the middle of a rebase, switch back to using signify.
13 lines
713 B
Lua
13 lines
713 B
Lua
local remap = vim.api.nvim_set_keymap
|
|
|
|
remap('n', 'ghr', ':SignifyHunkUndo<CR>', { noremap = true })
|
|
remap('n', 'ghp', ':SignifyHunkDiff<CR>', { noremap = true })
|
|
remap('n', ']c', '<Plug>(signify-next-hunk)', { noremap = false })
|
|
remap('n', '[c', '<Plug>(signify-prev-hunk)', { noremap = false })
|
|
remap('n', ']C', '9999]c', { noremap = false })
|
|
remap('n', '[C', '9999[c', { noremap = false })
|
|
remap('o', 'ih', '<Plug>(signify-motion-inner-pending)', { noremap = false })
|
|
remap('x', 'ih', '<Plug>(signify-motion-inner-visual)', { noremap = false })
|
|
remap('o', 'ah', '<Plug>(signify-motion-outer-pending)', { noremap = false })
|
|
remap('x', 'ah', '<Plug>(signify-motion-outer-visual)', { noremap = false })
|