nvim: lua: modules: gitsigns: Enable hunk text objects

This commit is contained in:
Sanchayan Maity 2021-01-17 11:50:34 +05:30
parent d9f8c8ce56
commit 54b66455cd

View file

@ -19,6 +19,8 @@ require('gitsigns').setup {
['n ghr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
['n ghp'] = '<cmd>lua require"gitsigns".preview_hunk()<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 = {
interval = 1000