33 lines
829 B
Lua
33 lines
829 B
Lua
return {
|
|
"mikavilpas/yazi.nvim",
|
|
keys = {
|
|
{
|
|
"<leader>e",
|
|
"<cmd>Yazi<cr>",
|
|
desc = "Open yazi at the current file",
|
|
},
|
|
{
|
|
-- Open in the current working directory
|
|
"<leader>E",
|
|
"<cmd>Yazi cwd<cr>",
|
|
desc = "Open the file manager in nvim's working directory",
|
|
},
|
|
},
|
|
opts = {
|
|
-- if you want to open yazi instead of netrw, see below for more info
|
|
open_for_directories = true,
|
|
open_multiple_tabs = true,
|
|
floating_window_scaling_factor = 1,
|
|
keymaps = {
|
|
show_help = '<f1>',
|
|
open_file_in_vertical_split = '<c-v>',
|
|
open_file_in_horizontal_split = '<c-s>',
|
|
open_file_in_tab = '<c-t>',
|
|
grep_in_directory = '<c-w>',
|
|
cycle_open_buffers = '<tab>',
|
|
copy_relative_path_to_selected_files = '<c-y>',
|
|
send_to_quickfix_list = '<c-q>',
|
|
change_working_directory = "<c-\\>",
|
|
},
|
|
},
|
|
}
|