Remove arrow
This commit is contained in:
parent
5d8d946d3e
commit
f9e6d25cb1
2 changed files with 0 additions and 41 deletions
|
|
@ -1,31 +0,0 @@
|
|||
return {
|
||||
"otavioschwanck/arrow.nvim",
|
||||
event = "VeryLazy",
|
||||
lazy = true,
|
||||
opts = {
|
||||
show_icons = true,
|
||||
leader_key = ",",
|
||||
global_bookmarks = false,
|
||||
separate_by_branch = 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",
|
||||
},
|
||||
window = {
|
||||
border = "single",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -97,15 +97,6 @@ return {
|
|||
return label
|
||||
end
|
||||
|
||||
local function get_arrow_label()
|
||||
local statusline = require("arrow.statusline")
|
||||
if statusline.is_on_arrow_file(props.buf) == nil then
|
||||
return ""
|
||||
end
|
||||
|
||||
return " " .. statusline.text_for_statusline_with_icons(props.buf)
|
||||
end
|
||||
|
||||
return {
|
||||
guibg = utils.ayu_colors.panel_bg,
|
||||
guifg = utils.ayu_colors.fg,
|
||||
|
|
@ -114,7 +105,6 @@ return {
|
|||
{ get_git_diff() },
|
||||
{ get_ft_icon() },
|
||||
{ get_file_path() },
|
||||
{ get_arrow_label() .. " " .. vim.api.nvim_win_get_number(props.win), group = "DevIconWindows" },
|
||||
{ " " }
|
||||
}
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue