32 lines
693 B
Lua

return {
-- "gc" to comment visual regions/lines
{
'numToStr/Comment.nvim',
opts = {}
},
-- Undo browsing
'mbbill/undotree',
-- Tabstops autodetected
'tpope/vim-sleuth',
{
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function(_, opts)
require("nvim-surround").setup(opts)
end
},
{
'inkarkat/vim-ReplaceWithRegister',
keys = {
{ '<leader>r', '<Plug>ReplaceWithRegisterOperator' },
{ '<leader>rr', '<Plug>ReplaceWithRegisterLine' },
{ '<leader>r', '<Plug>ReplaceWithRegisterVisual', mode = 'x' },
},
},
}