mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 14:37:15 +01:00
49 lines
1.3 KiB
Lua
49 lines
1.3 KiB
Lua
return {
|
|
{ 'numToStr/Comment.nvim', opts = {} },
|
|
{ 'tpope/vim-sleuth' },
|
|
{ 'tpope/vim-abolish', lazy = false },
|
|
{ 'tpope/vim-unimpaired', lazy = false },
|
|
{ 'lukas-reineke/indent-blankline.nvim', main = 'ibl', opts = {} },
|
|
{
|
|
'folke/todo-comments.nvim',
|
|
event = 'VimEnter',
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
opts = { signs = false },
|
|
},
|
|
{ -- Collection of various small independent plugins/modules
|
|
'echasnovski/mini.nvim',
|
|
config = function()
|
|
-- Better Around/Inside textobjects
|
|
--
|
|
-- Examples:
|
|
-- - va) - [V]isually select [A]round [)]paren
|
|
-- - yinq - [Y]ank [I]nside [N]ext [']quote
|
|
-- - ci' - [C]hange [I]nside [']quote
|
|
require('mini.ai').setup { n_lines = 500 }
|
|
|
|
-- Add/delete/replace surroundings (brackets, quotes, etc.)
|
|
--
|
|
-- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren
|
|
-- - sd' - [S]urround [D]elete [']quotes
|
|
-- - sr)' - [S]urround [R]eplace [)] [']
|
|
require('mini.surround').setup()
|
|
|
|
-- require('mini.colors').setup()
|
|
end,
|
|
},
|
|
{
|
|
'folke/which-key.nvim',
|
|
event = 'VeryLazy',
|
|
opts = {},
|
|
keys = {
|
|
{
|
|
'<leader>?',
|
|
function()
|
|
require('which-key').show { global = false }
|
|
end,
|
|
desc = 'Buffer Local Keymaps (which-key)',
|
|
},
|
|
},
|
|
},
|
|
}
|