return { { 'machakann/vim-sandwich', -- stylua: ignore keys = { -- See https://github.com/machakann/vim-sandwich/blob/master/macros/sandwich/keymap/surround.vim { 'ds', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, { 'dss', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, { 'cs', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, { 'css', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, { 'sa', '(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }}, { 'ir', '(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }}, { 'ab', '(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }}, }, init = function() vim.g.sandwich_no_default_key_mappings = 1 end, }, }