nvim: after/plugin/mini: Enable wrap around with hunk navigation
This commit is contained in:
parent
56301c198b
commit
3f5b09dd7d
1 changed files with 7 additions and 4 deletions
|
@ -3,10 +3,6 @@ local opts = { noremap=true, silent=true, unique=true }
|
|||
|
||||
-- Diff hunks
|
||||
require('mini.diff').setup({
|
||||
view = {
|
||||
style = 'sign',
|
||||
signs = { add = '+', change = '~', delete = '-' },
|
||||
},
|
||||
mappings = {
|
||||
textobject = 'gh',
|
||||
goto_prev = '[c',
|
||||
|
@ -16,6 +12,13 @@ require('mini.diff').setup({
|
|||
apply = '<Leader>hs',
|
||||
reset = '<Leader>hr',
|
||||
},
|
||||
options = {
|
||||
wrap_goto = true,
|
||||
},
|
||||
view = {
|
||||
style = 'sign',
|
||||
signs = { add = '+', change = '~', delete = '-' },
|
||||
},
|
||||
})
|
||||
-- File System
|
||||
require('mini.files').setup({
|
||||
|
|
Loading…
Reference in a new issue