@@ -408,6 +408,18 @@ just color: `/` directory, `*` executable, `@` symlink, `!` broken symlink, and
408408a leading space for plain files (keeps names aligned). File ** names are colored**
409409by type as well: archives, documents, images and audio/video each get a hue.
410410
411+ ** Nerd Font symbols.** Turning on * Options → Settings → Nerd Font symbols*
412+ replaces those markers with a per-type icon — a folder, a chain link (broken for
413+ a dangling one), and a glyph picked from the file itself: its language for source
414+ files (Rust, Python, Go, …), the category for documents, images, audio, video,
415+ archives, fonts, keys, databases and binaries, and a few whole names that carry
416+ no extension (` Makefile ` , ` Dockerfile ` , ` LICENSE ` , ` .gitignore ` , ` Cargo.toml ` , …).
417+ Anything unrecognized gets a blank page, or a gear if it is executable. The glyph
418+ is followed by a space, so names line up exactly as they do without it. This
419+ needs a [ Nerd Font] ( https://www.nerdfonts.com/ ) selected in your terminal —
420+ preferably a ** Mono** variant, whose icons are one cell wide — which is why it is
421+ off by default; without one the listing shows replacement boxes.
422+
411423
412424## File operations
413425
@@ -1411,7 +1423,7 @@ Configuration files live in your platform config directory
14111423(` ~/.config/rat-commander/ ` on Linux):
14121424
14131425- ** ` config.toml ` ** — written by the Settings dialog. Holds the active theme and
1414- language, the truecolor / animation / status-widget toggles, the external
1426+ language, the truecolor / animation / status-widget / ` nerd_font ` toggles, the external
14151427 editor and viewer commands, the confirmation flags, the remembered remote
14161428 servers (without passwords), and your directory ** ` bookmarks ` ** (used by the
14171429 command palette, Ctrl-P). It also holds ` command_history_max ` (default
@@ -1437,7 +1449,9 @@ Configuration files live in your platform config directory
14371449
14381450Choose the ** theme** and ** language** , toggle ** truecolor** , ** animations** , the
14391451** system-status widget** , the ** command prompt** (the shell line below the
1440- panels — also ` Ctrl-F5 ` ; see * Working without the command prompt* ) and ** Reshape
1452+ panels — also ` Ctrl-F5 ` ; see * Working without the command prompt* ), ** Nerd Font
1453+ symbols** (per-file-type icons in the listing — see * Panels* ; needs a Nerd Font
1454+ in your terminal) and ** Reshape
14411455RTL text** (see * Language* ), pick the
14421456** Graphics** mode (see * Terminal graphics* below), set an ** external editor /
14431457viewer** command (used instead of the built-in ones), and choose whether to use
@@ -1451,7 +1465,9 @@ The **Theme**, **Language** and **Graphics** fields are dropdowns: press
14511465through it, ** Enter** to pick, ** Esc** to close. They ** preview live** as you
14521466move the highlight — the UI re-colors / re-translates / re-draws immediately — so
14531467** Enter** keeps the highlighted one and ** Esc** (closing the dialog) reverts to
1454- what you started with. In every dialog the ** OK** and ** Cancel** buttons are part
1468+ what you started with. The ** Nerd Font symbols** box previews live in the same
1469+ way: the listings behind the dialog switch markers as you tick it, and go back on
1470+ ** Esc** . In every dialog the ** OK** and ** Cancel** buttons are part
14551471of the keyboard focus ring: ** Tab** / ** ↑↓** move onto them and ** Enter** or
14561472** Space** activates the highlighted one (** Enter** still submits from a field and
14571473** Esc** always cancels).
0 commit comments