49 lines
1.1 KiB
Lua
49 lines
1.1 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
|
|
"mrjones2014/nvim-ts-rainbow",
|
|
{
|
|
"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",
|
|
cmd = "SymbolsOutline",
|
|
config = function ()
|
|
vim.keymap.set('n', '<leader>t', '<cmd>SymbolsOutline<cr>')
|
|
end
|
|
},
|
|
|
|
|
|
}
|