feat(nvim): add mini plugins, smart open and formatting

This commit is contained in:
fbachus
2025-01-10 02:00:20 +01:00
parent 6e9dd516f1
commit 77cb47e4b5
15 changed files with 418 additions and 277 deletions

View File

@@ -0,0 +1,14 @@
require("mini.surround").setup({}) --surround strings with objects in one go (parens etc.)
require("mini.pairs").setup({}) --put down parens etc in pairs
require("mini.ai").setup({}) --selection with textobjects, such as "indside quotes, parens etc"
require("mini.bracketed").setup({}) -- move to textobjects with brackets
require("mini.jump2d").setup({}) -- jump to any point with Enter+ 2 letters in 2d matrix
require("mini.files").setup({}) -- floating file manager in vim editor style
require("mini.comment").setup({}) -- block comments etc
-- sugar ↓↓↓↓↓↓
require("mini.indentscope").setup({}) -- show indent scope
-- potentially interesting
--require("mini.align").setup({}) -- split lines in multiple sections, align these to rules, look into it more
--require("mini.git").setup({}) -- git shortcuts, but collisions with gitsigns