refactor(keys): improve keymap configurations and remove unused floaterm plugin

This commit is contained in:
sankalp committed 2025-09-28 21:28:19 +05:45
1 parent 1c14292c8f
commit 4c5fa067e2
6 files changed
+137 -178

No files matched your search

+44 -53
View File
@@ -1,55 +1,46 @@
return {
{
"echasnovski/mini.files",
version = "*",
event = { "BufReadPost", "BufNewFile" },
config = function()
require("mini.files").setup({
content = {
filter = nil,
prefix = nil,
sort = nil,
},
mappings = {
close = "q",
go_in = "L",
go_in_plus = "l",
go_out = "h",
go_out_plus = "H",
mark_goto = "'",
mark_set = "m",
reset = "<BS>",
reveal_cwd = "@",
show_help = "g?",
synchronize = "<CR>",
trim_left = "<",
trim_right = ">",
},
options = {
permanent_delete = true,
use_as_default_explorer = true,
},
windows = {
max_number = math.huge,
preview = false,
width_focus = 30,
width_nofocus = 20,
width_preview = 80,
},
})
end,
},
{
"prichrd/netrw.nvim",
config = function()
require("netrw").setup({
icons = {
symlink = "",
directory = "",
file = "",
},
use_devicons = true,
})
end,
},
{
'echasnovski/mini.files',
version = '*',
event = { 'BufReadPost', 'BufNewFile' },
config = function()
require('mini.files').setup({
content = {
filter = nil,
prefix = nil,
sort = nil,
},
mappings = {
close = 'q',
go_in = 'L',
go_in_plus = 'l',
go_out = 'h',
go_out_plus = 'H',
mark_goto = "'",
mark_set = 'm',
reset = '<BS>',
reveal_cwd = '@',
show_help = 'g?',
synchronize = '<CR>',
trim_left = '<',
trim_right = '>',
},
options = {
permanent_delete = true,
use_as_default_explorer = true,
},
windows = {
max_number = math.huge,
preview = false,
width_focus = 30,
width_nofocus = 20,
width_preview = 80,
},
})
end,
},
{
'prichrd/netrw.nvim',
opts = {},
},
}