diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 119baa6..1a16825 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -57,18 +57,7 @@ require("packer").startup(function() -- editing use {'tpope/vim-commentary', event = "BufRead"} -- easily toggle comments for lines, paragraphs etc with gc - use { - 'blackCauldron7/surround.nvim', -- lets you change surrounding things with cs (or ds to del, ys to add) - config = function() - vim.g.surround_mappings_style = "surround" - vim.g.surround_pairs = { - nestable = {{'(', ')'}, {'[', ']'}, {'{', '}'}}, - linear = {{"'", "'"}, {'"', '"'}, {'*', '*'}, {'`', '`'}} - } - require('surround').setup {} - end, - event = "BufRead" - } + use {'machakann/vim-sandwich', event = "BufRead"} -- surround things with other things using sa/sd/sr use { 'monaqa/dial.nvim', -- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers event = "BufRead"