Files
vimrc/lua/plugins/init.lua
2025-06-19 14:31:13 +01:00

59 lines
1.1 KiB
Lua

return {
{ -- traverse undotree
'mbbill/undotree',
keys = {
{ '<leader>fu', '<cmd>UndotreeToggle<cr>', desc = 'Toggle undotree' },
},
},
{ -- better f motions
'justinmk/vim-sneak',
keys = {
{ 's', '<Plug>Sneak_s', desc = 'Sneak forward' },
{ 'S', '<Plug>Sneak_S', desc = 'Sneak backwards' },
},
},
{ -- surround motions
'kylechui/nvim-surround',
opts = {},
event = 'VeryLazy',
},
{ -- put cursor where you left it
'farmergreg/vim-lastplace',
lazy = false,
},
{ -- Useful plugin to show you pending keybinds.
'folke/which-key.nvim',
event = 'VeryLazy',
opts = {},
},
{
'nmac427/guess-indent.nvim',
Event = 'BufEnter',
opts = {},
},
-- Highlight todo, notes, etc in comments
{
'folke/todo-comments.nvim',
event = 'VimEnter',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = { signs = false },
},
{
'j-hui/fidget.nvim',
version = '*',
opts = {
notification = {
override_vim_notify = true,
},
},
lazy = false,
},
}