nvim: after/plugin/mini: Enable wrap around with hunk navigation

This commit is contained in:
Sanchayan Maity 2024-04-17 18:39:08 +05:30
parent 56301c198b
commit 3f5b09dd7d
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -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({