Hide columns
#3650
-
Beta Was this translation helpful? Give feedback.
Answered by
sxyazi
Jan 31, 2026
Replies: 1 comment 1 reply
-
|
Return an empty string from your custom linemode function if you want to hide it, for example: function Linemode:custom()
if ui.area("current").w < 60 then
return ""
end
local year = os.date("%Y")
local time = (self._file.cha.mtime or 0) // 1
if time > 0 and os.date("%Y", time) == year then
time = os.date("%b %d %H:%M", time)
else
time = time and os.date("%b %d %Y", time) or ""
end
local size = self._file:size()
local size_str = size and ya.readable_size(size):gsub(" ", "") or "-"
local perms = (self._file.cha and self._file.cha:perm()) or "----------"
return ui.Line(string.format(" %s %s %s ", size_str, time, perms))
endIncrease or decrease |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
og900aero
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Return an empty string from your custom linemode function if you want to hide it, for example:
Increase or decrease
60as needed