add mini move plugin

This commit is contained in:
Andrzej Stepien 2024-03-20 22:32:38 +01:00
parent 4c0d7806f5
commit 6a8fc32cad
1 changed files with 53 additions and 1 deletions

View File

@ -18,6 +18,58 @@ return { -- Collection of various small independent plugins/modules
-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim
require("mini.files").setup()
require("mini.files").setup(
-- No need to copy this inside `setup()`. Will be used automatically.
{
-- Customization of shown content
content = {
-- Predicate for which file system entries to show
filter = nil,
-- What prefix to show to the left of file system entry
prefix = nil,
-- In which order to show file system entries
sort = nil,
},
-- Module mappings created only inside explorer.
-- Use `''` (empty string) to not create one.
mappings = {
close = "q",
go_in = "l",
go_in_plus = "L",
go_out = "h",
go_out_plus = "H",
reset = "<BS>",
reveal_cwd = "@",
show_help = "g?",
synchronize = "=",
trim_left = "<",
trim_right = ">",
},
-- General options
options = {
-- Whether to delete permanently or move into module-specific trash
permanent_delete = false,
-- Whether to use for editing directories
use_as_default_explorer = true,
},
-- Customization of explorer windows
windows = {
-- Maximum number of windows to show side by side
max_number = math.huge,
-- Whether to show preview of file/directory under cursor
preview = true,
-- Width of focused window
width_focus = 50,
-- Width of non-focused window
width_nofocus = 15,
-- Width of preview window
width_preview = 25,
},
}
)
require("mini.move").setup()
end,
}