feat: initial commit
- basic config according to spec
This commit is contained in:
commit
9b0446c5f6
36 files changed
+1114
No files matched your search
@@ -0,0 +1,40 @@
|
||||
return {
|
||||
{
|
||||
"nvim-mini/mini.ai",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter-textobjects" },
|
||||
config = function()
|
||||
local ai = require("mini.ai")
|
||||
ai.setup({
|
||||
n_lines = 500,
|
||||
custom_textobjects = {
|
||||
f = ai.gen_spec.treesitter({ a = "@function.outer", i = "@function.inner" }),
|
||||
c = ai.gen_spec.treesitter({ a = "@class.outer", i = "@class.inner" }),
|
||||
},
|
||||
-- No bracket motions (QWERTZ).
|
||||
mappings = { goto_left = "", goto_right = "" },
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-mini/mini.surround",
|
||||
event = "VeryLazy",
|
||||
-- gz prefix so the built-in `s` stays untouched.
|
||||
opts = {
|
||||
mappings = {
|
||||
add = "gza",
|
||||
delete = "gzd",
|
||||
find = "gzf",
|
||||
find_left = "gzF",
|
||||
highlight = "gzh",
|
||||
replace = "gzr",
|
||||
update_n_lines = "gzn",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-mini/mini.pairs",
|
||||
event = "InsertEnter",
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user