diff --git a/yazi-config/preset/yazi.toml b/yazi-config/preset/yazi.toml index 6e161a55..81ce4688 100644 --- a/yazi-config/preset/yazi.toml +++ b/yazi-config/preset/yazi.toml @@ -36,6 +36,7 @@ open = [ { run = 'start "" "%1"', orphan = true, desc = "Open", for = "windows" }, ] reveal = [ + { run = 'xdg-open "$(dirname "$0")"', desc = "Reveal", for = "linux" }, { run = 'open -R "$1"', desc = "Reveal", for = "macos" }, { run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" }, { run = '''exiftool "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show EXIF", for = "unix" }, diff --git a/yazi-plugin/preset/components/current.lua b/yazi-plugin/preset/components/current.lua index ee7958fc..5916ef1b 100644 --- a/yazi-plugin/preset/components/current.lua +++ b/yazi-plugin/preset/components/current.lua @@ -9,7 +9,7 @@ function Current:empty(area) if folder.files.filter then line = ui.Line("No filter results") else - line = ui.Line(folder.stage == "loading" and "Loading..." or "No files") + line = ui.Line(folder.stage == "loading" and "Loading..." or "No items") end return { diff --git a/yazi-plugin/preset/plugins/folder.lua b/yazi-plugin/preset/plugins/folder.lua index 989bb186..2d75defa 100644 --- a/yazi-plugin/preset/plugins/folder.lua +++ b/yazi-plugin/preset/plugins/folder.lua @@ -13,7 +13,7 @@ function M:peek() if #folder.files == 0 then return ya.preview_widgets(self, { - ui.Paragraph(self.area, { ui.Line(folder.stage == "loading" and "Loading..." or "No files") }) + ui.Paragraph(self.area, { ui.Line(folder.stage == "loading" and "Loading..." or "No items") }) :align(ui.Paragraph.CENTER), }) end