Useful Helix Commands

insert file mod time

:append-output stat -c "%%.19y" %{buffer_name} (or :insert output)

inserts/appends mod file time stat: command for file stats -c: format %%.19: 19 digits (extra % needed inside helix) y: human-readable time %{buffer_name}: path for current file

Note

oddly :append-output and A-! work differently with A-!/append-output: (note : location) not accepting the %{buffer_name}

References

Helix

man stat Expansions in Helix

2026-06-06 11:34:42

2026-06-06 22:15:31