26 lines
618 B
Lua
26 lines
618 B
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",
|
|
}
|