{
"echasnovski/mini.pairs",
},
+
+ -- surround
+ {
+ "echasnovski/mini.surround",
+ keys = {
+ { "S", "<cmd><C-u>lua MiniSurround.add('visual')<cr>", "x" },
+ { "yss", "ys_", remap = true },
+ },
+ opts = {
+ mappings = {
+ -- TODO: this is tpope/surround like, but should consider using vim-sandwich mappings
+ -- see: :h MiniSurround-vim-surround-config
+ add = "ys",
+ delete = "ds",
+ find = "",
+ find_left = "",
+ highlight = "",
+ replace = "cs",
+ update_n_lines = "",
+ },
+ },
+ },
}
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-scriptease'
Plug 'tpope/vim-speeddating'
-Plug 'tpope/vim-surround' "investigate vim-sandwich
+if !has('nvim')
+ Plug 'tpope/vim-surround' "investigate vim-sandwich
+endif
Plug 'tpope/vim-unimpaired'
Plug 'tweekmonster/spellrotate.vim'
if !has("nvim")