# HG changeset patch # User zegervdv # Date 1645033528 -3600 # Node ID fc435126a156bc5b1a7abd38e78d16013a3c22c3 # Parent 6f07ecae38106e48e579af2b9b6d8bce51ab7355 Replace surround with mini.surround for the function wrapping options diff -r 6f07ecae3810 -r fc435126a156 .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Wed Feb 16 08:56:31 2022 +0100 +++ b/.chezmoitemplates/init.lua Wed Feb 16 18:45:28 2022 +0100 @@ -131,7 +131,18 @@ use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } -- Parentheses etc - use { 'tpope/vim-surround' } + use { + 'echasnovski/mini.nvim', + config = function() + require('mini.surround').setup { + mappings = { + add = 'ys', + delete = 'ds', + replace = 'cs', + }, + } + end, + } use { 'windwp/nvim-autopairs', config = function()