nvim: lua: modules: gitsigns: Enable hunk text objects
This commit is contained in:
parent
d9f8c8ce56
commit
54b66455cd
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ require('gitsigns').setup {
|
||||||
['n ghr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
|
['n ghr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
|
||||||
['n ghp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
|
['n ghp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
|
||||||
['n ghb'] = '<cmd>lua require"gitsigns".blame_line()<CR>',
|
['n ghb'] = '<cmd>lua require"gitsigns".blame_line()<CR>',
|
||||||
|
['o ih'] = ':<C-U>lua require"gitsigns".text_object()<CR>',
|
||||||
|
['x ih'] = ':<C-U>lua require"gitsigns".text_object()<CR>'
|
||||||
},
|
},
|
||||||
watch_index = {
|
watch_index = {
|
||||||
interval = 1000
|
interval = 1000
|
||||||
|
|
Loading…
Reference in a new issue