Repository navigation
runa v0.11.0
·
184 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Icon coloring, preview scrolling, performance improvements and more.
Added
-
Preview scrolling: Preview pane is now scrollable with the
scroll_upandscroll_downkeybinds. Works for bothinternalandbatpreview methods. -
Entry and Icon coloring: Added coloring entries, extensions and icons.
- It is now possible to set entry colors by the exact filename or by extension.
# Set the entry color for an exact filename [theme.exact] "foo" = { fg = "#RRGGBB", bg = "#RRGGBB" } "bar" = { fg = "#RRGGBB", bg = "#RRGGBB" } # Set the entry color for extensions [theme.ext] "foo" = { fg = "#RRGGBB", bg = "#RRGGBB" } # Set the icon color (does not affect entry color) [theme.icon_color] foo = "#RRGGBB"
-
Editor config: Added more editor configuration options. This introduces breaking changes.
- Possible to now set editors/programs for specific filenames and extensions.
[editor] default = "nvim" ext = { rs = ["vim"], md = ["code"] } filename = { "Cargo.toml" = ["vim"] } # -- OR -- [editor.ext] rs = ["vim"] md = ["code"] [editor.filename] "Cargo.toml" = ["vim"] # Also possible to add arguments ext = { md = ["code", "-d"] }
Changed
-
[BREAKING] Editor config: With the new editor configuration, the older
[editor] cmd = "foo"no longer works.- Example:
# Old [editor] cmd = "nvim" # New [editor] default = "nvim"
-
Border styling:
unifiedborder style now applies the separator to the outer border as well, making it look like a proper "boxed" or "unified" look. -
Find widget: Set
find_widthto 60 andfind_visible_resultsto 8.
Fixed
- CLI: Fixed an issue where the CLI arg
--init-fullgenerated a brokenruna.toml. Issue #55 - Theme: Fixed an issue where the
accentstyle ignored theseparator. Now, the separator applies the setaccenttheme and also considers theseparatoroverride. Issue #56 - Status line: Fixed an issue where the
status_line.fg/bgdid not set the marker/clipboard colors correctly. - Selection color: Fixed an issue where the selection color would override the marker background color when one was set.
Internal
- Performance improvements:
- Added
core/cachemodule to cache shared FileEntry and sort_column data for the main pane to apply instead of re-computing all entries on each directory change, resulting in big performance improvements on navigation and directory changes. - Added
app/timingsmodule to centralize the "throttling" of worker requests, resulting in less flooding of worker activity and therefore massive efficiency improvements and smoother navigation. FileEntrynow stores thename_strandext(ension)of an entry name to reduce re-computing of each data for each entry row.nerd_font_iconsphf-map look-ups are more efficient with the lookup happening once and without relying on lowering the entry name and extension.AppContainernow ownsTabManagerexclusively via heap allocation.sort_columnnow is a new typeStrBufferinstead of aArc<[Arc<str>]>to only do one atomic ref-count increment.- Removed static
META_SORT_EPOCHandMETA_SORT_CACHEcaches and instead cache the metadata of a sorted directory in a local cache resulting in memory efficiency and stability.
- Added