Mercurial > dotfiles
changeset 562:fc435126a156
Replace surround with mini.surround for the function wrapping options
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 16 Feb 2022 18:45:28 +0100 |
parents | 6f07ecae3810 |
children | fb54ab50a72a |
files | .chezmoitemplates/init.lua |
diffstat | 1 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()