nvim-config/lua/plugins/misc.lua

66 lines
1.3 KiB
Lua

-- Miscelaneous fun stuff
return {
-- Comment with haste
{
"numToStr/Comment.nvim",
opts = {},
},
-- Move stuff with <M-j> and <M-k> in both normal and visual mode
{
"echasnovski/mini.move",
config = function()
require("mini.move").setup()
end,
},
-- Better buffer closing actions. Available via the buffers helper.
{
"kazhala/close-buffers.nvim",
opts = {
preserve_window_layout = { "this", "nameless" },
},
},
"tpope/vim-sleuth", -- Detect tabstop and shiftwidth automatically
"tpope/vim-surround", -- Surround stuff with the ys-, cs-, ds- commands
"HiPhish/rainbow-delimiters.nvim",
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {},
},
{
"tamton-aquib/duck.nvim",
config = function ()
local duck = require("duck")
duck.hatch("🦀", 10)
vim.keymap.set('n', '<leader>dn', function () duck.hatch("🦀", 10) end, {})
vim.keymap.set('n', '<leader>dk', function () duck.cook() end, {})
end
},
{
"simrat39/symbols-outline.nvim",
config = function ()
vim.keymap.set('n', '<leader>t', '<cmd>SymbolsOutline<cr>')
end
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {}
},
"rcarriga/nvim-notify",
{
"lazymaniac/wttr.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTnjim/nui.nvim",
},
opts = {
location = "las+vegas",
format = 2,
}
}
}