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.
25 lines
632 B
Lua
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",
|
|
}
|
|
}
|
|
}
|