all gitsigns use h
as key prefix
This commit is contained in:
parent
370bbf0edf
commit
df5be57d75
|
@ -10,13 +10,13 @@ return {
|
|||
vim.keymap.set(mode, l, r, opts)
|
||||
end
|
||||
|
||||
m("n", "]c", function()
|
||||
m("n", "]h", function()
|
||||
if vim.wo.diff then return "]c" end
|
||||
vim.schedule(function() gs.next_hunk() end)
|
||||
return "<Ignore>"
|
||||
end, {expr=true})
|
||||
|
||||
m('n', '[c', function()
|
||||
m('n', '[h', function()
|
||||
if vim.wo.diff then return '[c' end
|
||||
vim.schedule(function() gs.prev_hunk() end)
|
||||
return '<Ignore>'
|
||||
|
|
Loading…
Reference in a new issue