.dotfiles/nvim/lua/plugs/arrow.lua
Martin Larsson 11f9c6cbae Arrow now uses dr over e, also, switch to my fork which fixes the statusline
The statusline now takes a bufnr instead of using the current buffer,
this way it works with multiple statuslines at the same time, like
incline. Additionally, it doesnt dissapear when open floating windows.
2024-04-10 10:48:36 +02:00

25 lines
632 B
Lua

return {
"LarssonMartin1998/arrow.nvim",
opts = {
show_icons = true,
leader_key = ",",
global_bookmarks = true,
custom_actions = {
open = function(filename, _)
vim.cmd(string.format(":drop %s", filename))
end,
},
mappings = {
edit = "e",
delete_mode = "d",
clear_all_items = "C",
toggle = "s",
open_vertical = "v",
open_horizontal = "h",
quit = "q",
remove = "x",
next_item = "n",
prev_item = "p",
}
}
}