Skip to content

Releases

v1.29

Choose a tag to compare

@leo-arch leo-arch released this 18 Sep 20:47
b49648d

Clifm 1.29 (Stan Stanman)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

BUG FIXES:

  • Symbolic links not properly sorted when sorting by size.
  • Long-view: link to dir without access shows size '0B', while dir wihtout access shows '?'.
  • Long-view/full-dir-size: dirs without access (size '?') are sorted as if their size were 0.
  • The 'zp' command, unlike 'view', does not allow specifying file names in the command line.
  • No overwrite prompt when duplicate names are in the source list and not in the destination directory.
  • Relative symlinks not properly resolved by 'p'/'pp'/'--stat'.
  • Bulk-link ('bl' command) does not honor the 'LinkCreationMode' option.
  • No information for files with timestamps dated before the Unix Epoch.
  • Almost unusable/unresponsible when selecting thousands of files.
  • When compiled in POSIX-mode, '--stat' always fails to retrieve the file's MIME type.
  • If $NO_COLOR (system-wide) is set, there's no way to override this specifically for Clifm. You can now force colorization using either '--color=always', or setting $CLIFM_FORCE_COLOR to either '8', '16', '256', '24bit', or 'truecolor'.
  • Files deselected after running 't sel', even if the operation was cancelled (the user entered 'no' in the confirmation prompt).
  • '--stat' does not honor '--unicode'.
  • The prompt displays negative error codes on Haiku.
  • Some keybindings do not work after being set with the 'kb bind' command.
  • Commands using fused parameters with ranges starting with 10, 20, 30, etc do not work. E.g., 's10-12'.
  • When selections are modified from a second instance, the prompt indicator is updated, but not the file list. A second screen reload is required.
  • Unable to select a file whose name contains an embedded newline char (yes, these names are an abomination, but they're legal and a file manager should be able to handle them).
  • Filenames containing invalid UTF-8 chars break suggestions.
  • Filenames containing invalid UTF-8 chars break the interactive rename prompt ('m' command).
  • Wrong behavior when previewing files whose name starts with a dash (-).
  • Wrong colorization when accepting the first suggested word (Alt+f).
  • File type filters not working with regex searches (e.g., '/.*.d$ -d /etc').
  • Completions/suggestions not working for starting path in the search function ('/QUERY dir/').
  • ft: quoted filter ignores negation.

NEW FEATURES/IMPROVEMENTS:

  • Fast-magic: add file type detection for text files (mostly source-code files: almost 40 languages detected!).
  • Allow ELN ranges for single files (e.g., '1-1' or '1-' where there is only one file).
  • Allow overriding z-commands with custom command names (aliases or actions). Completions/suggestions for overridden commands are disabled.
  • Add 'skip' and 'skipall' options to the overwrite prompt (c/m commands) (replacing the previous functions of 'no' and 'none', which now copy files, but renaming them). Consult the manpage or run 'c --help' for more information.
  • Document z-commands. Press z for the list of commands or consult the manpage for more information.
  • Add opening apps (f3d, prusa-slicer, openscad) for 3D-Graphic files (stl,step,3mf,iges,scad). Update your mimelist.clifm file.
  • Use the '-r' switch to recursively select files. E.g., 's *.png -r', or 's *.png -r dir/' to start from the directory 'dir'. To evaluate the selection pattern as a regular expression (instead of as a wildcard), use '-R'.
  • Recursive search is now made with '-r' (the old '-x' is still supported for backward compatibility).
  • Allow using all available answers for the overwrite prompt as default answer.
  • The new default answer for the overwrite prompt is 'o' (none).
  • Add short form for 's --invert': 's -i'.
  • New command-line option: '--mime-type FILE...'. Print MIME type of files and exit.
  • Allow specifying a destination directory (via a dedicated user prompt) when creating symlinks in bulk ('bl' command).
  • Mount ISO files with archivemount(1) to avoid using sudo (required by mount(1)).
  • Mount archives in '$TMPDIR/clifm-$USER/mnt' instead of '~/.config/clifm/profiles/PROFILE/mounts'.
  • Automatically unmount archives at exit.
  • The keyword 'mnt:' expands to the directory used to mount archives. For example, to quickly jumpt to the mountpoints directory, run 'cd mnt:'.* Add specific icon for empty directories.
  • Add icon for Fennel, Puppet, Razor/CSHTML source files.
  • Allow grouping directories after files. Set via a dedicated command: 'gd/group-dirs [first|last|false]'; via the config file: 'GroupDirs=[first|last|false]'; or via a command-line option: -f,--group-dirs=[first|last|false]. Note that the command 'ff'/'dirs-first' was removed, while --[no]-dirs-first, just as the 'ListDirsFirst' config option, is deprecated.
  • Display major/minor ID for character and block devices in long view (size field), like ls(1) would.
  • New config option (MaxConfirmFiles) to specify how many filenames are displayed in confirmation prompts (trash and removal). Supported values: 'auto' (half terminal lines), 'none', 'all', or a positive integer. Defaults to 'auto'.
  • Colorize the list of files displayed in confirmation prompts (trash and removal).
  • Better handle pluralization in output messages (e.g., "file" or "files" instead of "file(s)").
  • Add support for mounted device name and filesystem type ('--disk-usage') on Haiku.
  • New feature: use '--mounts' to prepend indicator ('+') to directories that are mountpoints. The 'p/pp' command identifies mounted device for these directories in the form 'DIR/ -> DEVNAME [FSTYPE]'. The color code used for this indicator is 'dm'. N.B.: Linux bind mounts are not supported.
  • New option: '--names-last': print filenames after metadata instead of before (long view).
  • The 'glob-regex' value for 'SearchStrategy' was removed due to inconsistent results. Now only 'glob' (default) and 'regex' are available.
  • Allow specifiying a pattern matching method for the current search disregarding the value of 'SearchStrategy'. For example, '/re:PATTERN' forces the use of regex, while '/gl:PATTERN' forces the use of globbing.
  • The 'SearchStrategy' option now allows the use of alphabetic values: 'glob' and 'regex'. Also, the option 'glob-regex' was removed. It defaults to 'glob'.
  • 'SearchStrategy' is deprecated. Use 'MatchingStyle' instead. Note that this new option is not restricted to the search function, but affects all functions and commands using patterns (this includes search, but also file selection).
  • Use the 'gl:' and 're:' prefixes to force the use of a specific pattern-matching style deviating from the default (glob). For example, run 's re:..pdf$' to select PDF files, or '/gl:d' to search for files starting with 'd', now using wildcards (note that, since the default style is glob, '/d*' (without prefix) is equivalent).
  • Improved algorithm to display files in columns, resulting in a better use of the terminal width. This includes an improved file pager.
  • Improved output for the search command: sorting follows the file list, and files are better organized in columns.
  • Improve how the warning prompt is triggered in the presence of process separators characters (|;&).
  • List files belonging in multiple tags: 'tag list tag1 tag2...'.
  • tag: Use the 'purge' subcommand to purge tags from invalid entries. E.g., 'tag purge TAG1 TAG2' to purge TAG1 and TAG2 from invalid entries. If no tag name is provided, all tags are scanned for invalid entries. The user is prompted for confirmation.
  • Add 'accept-suggestion' bindable action to make the action configurable. E.g., 'kb bind accept-suggestion'. The same goes for 'accept-suggested-word' (only the first suggested word is inserted).

MISC:

  • '--no-columns' is deprecated, Use '-1/--oneline' instead.
  • New option: '--color[=always|auto|never]'. '--no-color' is now deprecated (use '--color=never' instead).
  • For consistency with other tools, '--full-dir-size' was renamed to '--total-size', and the config option 'FullDirsize' to 'TotalSize'. Old names still work, but it is recommended to adopt the new ones.
  • '--case-sens-dirjump', and '--case-sens-path-comp' options are now obsolete.
    *'--[no-]case-sensitive' is deprecated. Use '-i,--ignore-case' or '-I,--no-ignore-case' instead.
    Also, the config options 'CaseSensitiveDirjump', 'CaseSensitiveSearch', and 'CaseSensitivePathComp' (all deprecated) were merged into 'IgnoreCase=[true|false]'. 'CaseSensitiveList' was replaced by 'Sort=[name,iname,version,iversion,extension,iextension]'. Note: The new 'i' prefix in sort option names stands for case-insensitive.
  • The '--ls' options behaves now a bit more like ls(1). It implies: '--list-and-quit', '--no-clear-screen', '--no-eln', '--no-classify', '--sort=name', '--group-dirs=false', '--no-dereference', '--show-hidden=false', and '--names-last'.

BREAKING CHANGES:

  • For consistency with other tools, '-L' stands now for '--dereference', in place of the old '--no-follow-symlinks' (use '--no-dereference' instead).
  • The '-f' option now requires an argument: 'first', 'last', 'false'.
  • '-F' is not a valid option anymore (use -f,--sort-dirs=false instead).

v1.28

Choose a tag to compare

@leo-arch leo-arch released this 28 May 02:34
50977c5

Clifm 1.28 (Rubber Chicken)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • When mounting a remote, a directory named " is created in the current directory if Mountpoint is set to the empty string ("").
  • Purged entries (j --purge) are not removed from the jump database.
  • File list refreshed after command execution without any reason.
  • If compiled without libmagic support (_NO_MAGIC), MIME type detection fails in stealth-mode.
  • Terminal title not set in some terminals (e.g., wezterm).
  • FILE APP fails with message Success.
  • Success error message when trash files exist but are not directories in stealth-mode.
  • Cannot unmount device with the media command when the user is in the mountpoint.
  • ac: Cannot create hidden archive (starting with dot) if no extension is provided
  • DirIconColor, in the color scheme file, does not support short color sequences (including hex).
  • DirIconColor is ignored for directories with special icons.
  • The c key in the file pager stopped working.
  • Alt+w (in virtual directories) toggles to the current mode the first time it is pressed.
  • MaxNameLen ignored when running without ELNs in long view.
  • When not sorting by time (and TimeFollowsSort is enabled), the long view always shows modification time, ignoring the value set for the time field in PropFields.
  • p/pp command: Key values for extended attributes are never printed (only the key itself).
  • Duplicated entries when listing keybindings (kb command).
  • ~/dir/query<TAB> fails to display previews.
  • ~/.config/clifm/mime.types file ignored when running with --open or --preview.
  • Not properly handling . and .. as starting paths (e.g. clifm .).

New features/Improvements 😎 :godmode:

  • When creating an archive using zstandard (ac FILES and then archive.zst as archive name), archive files first with tar(1) and then compress the archive with zstandard, generating thus a .tar.zst compressed archive (instead of multiple compressed .zst files, like before).
  • Add a counter for total entries at the end of the jump table (j command).
  • Colorize entries according to file type/state in the dirhist screen (dh command).
  • p/pp: do not display size for special devices (character/block), and place Device type on its own line.
  • Automatically open .a, .ace, .ar, .arc, .cpio, .Z, .lrz files with ad (our built-in archiver command). Update your mimelist.clifm file (https://github.com/leo-arch/clifm/blob/master/misc/mimelist.clifm).
  • More accurate MIME-type detection: Fallback to mimetype(1)/xdg-mime(1), if available (and in this precedence order), when libmagic does not get conclusive results (i.e., it returns application/octet-stream).
  • Use the built-in file type identification check (Moira) before falling back to libmagic (very useful to improve detection speed of common file types such as PDF, PNG, MP4, etc). Disable with FastMagic=false in the config file.
  • When importing MIME associations (mm import), check mimeinfo.cache files as well.
  • Support Shared MIME-info XML files as MIME associations file (via $CLIFM_MIMETYPES_FILE). Example: CLIFM_MIMETYPES_FILE=/usr/share/mime/packages/freedesktop.org.xml clifm.
  • Add preview support for extra archive formats. Update your preview.clifm file (https://github.com/leo-arch/clifm/blob/master/misc/preview.clifm).
  • Allow auto-opening multiple files at once (provided all files to be opened are associated to the same opening application: e.g., *.jpg).
  • Improved confirmation prompt when overwriting files: includes yes, no, all, none, and quit.
  • Add support for the overline attribute to the prompt color syntax. Use the o prefix or the overline keyword. For example, %{o:red} or %{overline}%{red}. Use the O prefix and the nounderline keyword to disable.
  • Change LinkCreationMode default value to relative. The literal mode easily breaks user expectations: for example, l file dir/link makes dir/link point to file, which does not exist (or is not the file intended by the user). In relative mode, the same command makes dir/link point to ../file.
  • New config file option: FollowSymlinks (defaults to true).
  • The keybinding Alt+Plus has been changed to toggle-follow-symlinks (toggle-follow-symlinks-long, the old binding, has been removed). Update your keybindings by running kb bind toggle-follow-symlinks and then pressing Alt+Plus.
  • Improved consistency between long view and FollowSymlinks: In prior versions, where FollowSymlinks was implicitly the default behavior, we were nonetheless showing metadata of the link itself in long view (i.e. we were not following symlinks). Now, if FollowSymlinks is enabled (still the default), the long view consistently shows the target's metadata. To display the link's own metadata, toggle follow-symbolic-links with thek command (or Alt+Plus).
  • Allow reading mime.types file from a clifm-specific location: ~/.config/clifm/mime.types (besides ~/.mime.types).
  • The fz command toggles recursive-dir-size when no parameter is provided to match other commands.
  • Added three new commands: ci (toggle case-sensitive-sort), and od (toggle list-only-directories).
  • Introduced a series of command aliases following the vi/Vim convention (z prefix) to provide consistent, mnemonic access to common display toggles and actions. Press z<TAB> to get the list of command aliases.
  • Added two new bindable actions: toggle-case-sensitive-sort (unset) and sort-reverse (Alt+r).
  • Alt+r defaults now to 'sort-reverse' (update your keybindings file or enter kb bind sort-reverse and then press Alt+r).
  • Make Ctrl+c behave like Alt+c (clear command line) (by @zouyonghe).
  • Allow the view command to preview only files specified in the command line (e.g., view *.pdf).
  • Allow running mm info on multiple files (e.g. 'mm info 12 24-27').
  • Abbreviate names when listing files to be removed.
  • Allow TAB multi-selection for c and m commands.

Misc:

  • --cwd-in-title is deprecated. Use TermTitle in the config file instead. Supported values: auto (if support is detected; default), true (always), false (never).
  • Date suffixes are not appended anymore to trashed file names: it only adds confusion by deviating from what other trash implementations do (Gnome GVFS and Dolphin, for example).
  • The function of the -L'command line switch has been changed to --no-follow-symlinks (replacing --follow-symlinks-long, now deprecated and without effect).
  • --color-links-as-target renamed to --colorize-symlinks-as-target, and ColorLinksAsTarget' (in the config file) to ColorizeSymlinksAsTarget`. The old names still work, but are deprecated.
  • Remove cwd and path commands (deprecated since 1.12.3).
  • Lots of code improvement.

v1.27.1

Choose a tag to compare

@leo-arch leo-arch released this 10 Jan 01:27
9926dec

Clifm 1.27.1

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • If the profiles directory cannot be read, we get NULL pointer dereferences (possibly crashing).
  • MaxFilenameLen value lost after visiting a directory containing a single file.

New features/Improvements 😎 :godmode:

  • Add extraction message when extracting zip-based files (e.g., docx or odt).
  • Allow extracting zip-based files with bsdtar(1). Previosly, only unzip(1) and 7z(1) were used.
  • Do not allow to delete the current profile (using pf del).
  • Allow profile names to start with a dot.

v1.27

Choose a tag to compare

@leo-arch leo-arch released this 07 Jan 00:50
9fa2d4b

Clifm 1.27 (Pieces o'Eight)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • fzfnav/BFG plugin: chafa does not display images on foot terminal.
  • Filename validation not working for uppercase file type characters (e.g. =C).
  • Cannot compile in OpenBSD 7.8-CURRENT (missing typedef).
  • Recursive remove message not shown when removing multiple directories.
  • No screen refresh after archive extraction.
  • ../ in a symlinked directory does not work when cd is omitted (autocd).
  • Directory names containing a dot are truncated as if they have an extension (sorting by extension already omits extensions in directory names).
  • The safe names check emits warnings only for the first error, omitting the remaining ones.
  • dup FILE replaces broken symlink if it is named FILE.copy.
  • File colors do not match those in the file list when in light mode.
  • Using incomplete ranges (ELN-) in the untrash screen silently fails the second time.
  • Error when compiling with CLIFM_SUCKLESS.
  • Cannot open files using the mm open command on Windows (#354).
  • Garbled output (in the prompt) on slow SSH connections (#355).
  • Alt-z skips type sort in light mode.
  • n FILE@<TAB> overrides FILE in the command line when there is a single template file.
  • No icon for hardlinked files.
  • Wrong icon for .a files.
  • Some icons are not visible in light themed terminals.
  • Umask in config does not work at startup (overridden by shell inherited value).
  • Filenames with embedded single UTF-8 continuation bytes are not properly handled.
  • Default answer ignored after pressing Ctrl+d in confirmation prompts.

New features/Improvements 😎 :godmode:

  • Add iina to video/audio opening apps.
  • Invert/toggle selections in the current directory with sel --invert (or Shift+Tab). Note: you may need to add the keybinding yourself. Enter kb bind invert-selection and then press Shift+Tab.
  • Add key bindings for workspaces 5-8 (Alt+[5-8]).
  • Allow decompressing ZIP-based files (such as .docx, .odt, and .apk files) via the ad command.
  • Make safe filename check inform all safety warnings.
  • Add leading/trailing whitespace and leading tilde check to the safe filename check.
  • Validate new filenames when copying or renaming files.
  • Enable/disable filenames validation when creating/renaming files (n and m commands respectively) using the SafeFilenames option in the configuration file (consult the manpage for details).
  • Add swayimg support to img_view.sh plugin.
  • Import CLIFM_STAT_AUTOCMD when Notifications are disabled for the current prompt.
  • Use a more proper icon for symbolic links (oct_file_symlink_file).
  • Allow MaxFilenameLen to take percentage values. E.g., 25% for 1/4 of terminal columns.
  • MaxFilenameLen defaults now to 25%. To get back the old behavior, set MaxFilenameLen to 20 in the config file.
  • Avoid single-width emojis (for emoji-icons) to prevent rendering issues.

Misc

  • Manpage completions directory moved from $XDG_DATA_HOME to $XDG_CACHE_HOME.
  • FilesCounter option renamed to FileCounter.
  • Since fzf 0.66, hiding the gutter requires adding --gutter=' ' to FzfTabOptions in the color scheme file (edit using cs edit). Notice that gutter:-1 is not required anymore in the --color option. See https://github.com/junegunn/fzf/blob/master/CHANGELOG.md#hiding-the-gutter-column
  • A few changes on how state information is exported to the environment when running a plugin:
  1. CLIFM_FILES_COUNTER and CLIFM_FILES_FILTER were renamed to CLIFM_FILE_COUNTER and CLIFM_FILE_FILTER respectively.
  2. When a value is disabled, nothing is exported (previously, it was set to zero). E.g. if long-view is enabled, CLIFM_LONG_VIEW is set to 1. Otherwise, it is unset.
  • Removed the Order column from the jump table screen (j command).
  • Nerdfonts is now the default icon set. To get the old emoji-icons compile with the EMOJI_ICONS flag. Consult the icons section for details.
  • Added several new icons.

v1.26.3

Choose a tag to compare

@leo-arch leo-arch released this 28 Sep 22:41
1d1ede2

Clifm 1.26.3

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • Warning prompt color is broken.
  • Single character commands not recovering from warning prompt.
  • Run with -T ~/trashfile, create a file named ~/trashfile2: this latter cannot be trashed.
  • Freeze when running non-interactively and in the background.
  • Some GTK programs crash when launched from within clifm (XDG_DATA_DIRS corruption).

New features/Improvements 😎 :godmode:

  • Replace --stdtab, --fzftab, --fzftab, and --smenutab by --tabmode=fzf|fnf|smenu|standard.
  • Prevent shell commands from leaving the terminal in an unusable state.
  • Improved key binding translation support (via the keypress translation library).
  • Allow the use of colon as color field separator.

Misc

  • Remove --fzytab (deprecated since 1.12.9).

v1.26

Choose a tag to compare

@leo-arch leo-arch released this 21 Jul 23:24
dd0f936

Clifm 1.26 (Fettucini Bros)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • No field printed after S in long view.
  • No prompt in case of F1-F3 failure.
  • The 'stats' command does not count files with extended attributes.
  • --secure-cmds: Only the first mime placeholder (%) is sanitized: in CMD %f %u", "%u won't be checked.
  • p command: no size in bytes when size is exactly 1k.
  • 24bit SGR sequence with foreground, background, and underline color (kitty) not working.
  • Accept first suggested word (Alt+f) fails with Unicode string.
  • ./<TAB> lists only executable files and directories, even if auto-open is enabled.
  • Though w: is a reserved keyword (for workspaces), filename validation (when creating new files) does not warn about it.
  • --sel-file=\\/ is interpreted as the current directory instead of the root dir.
  • Cannot trash ~/trashdir2 if the trash directory is ~/trashdir.
  • Bad error message when a short option with a Unicode character is used. E.g.: clifm -ö complains clifm: 'clifm': Unrecognized option, when it should be -ö.
  • view edit does not open the alternative shotgun file, but the default one.
  • mm info ignores alternative shotgun file.
  • mm info refuses to run on privileged files.
  • Double screen refresh after running a keybinding.
  • ow does not support %m and %u placeholders.

New features/Improvements 😎 :godmode:

  • The icons command toggles icons when used without parameters.
  • Harden alternative config dirs/files checks: avoid using non-dirs/reg_files respectively.
  • Better autodetect tab completion mode: use any of fzf, fnf, or smenu if the appropriate binary is found in PATH (and not specified otherwise in the command line or in the configuration file).
  • Allow tab completion for ELNs in the bookmarks screen.

Misc

  • Lots of code cleaning and improvements.

v1.25

Choose a tag to compare

@leo-arch leo-arch released this 03 May 17:43
6c50360

Clifm 1.25 (Scumm Bar)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • kb: Some escape sequences are not properly translated (e.g. \e[200~ for bracketed-paste-begin).
  • Create a file (n file) and then remove it (r file). Press Alt+n and then Enter: a file named n is created! The same happens with le and m (interactive rename) when pressing Enter on empty line.
  • Some legacy terminals (like the FreeBSD console) froze as soon as we try to query some data from it.
  • kb bind does not allow to switch keybindings (for example, setting F1 for bookmarks and Alt+b for show-manpage).
  • Alt+h runs a wrong command name (bh).
  • Ctrl+Alt+t attempts to trash a file named sel when there are no selected files.
  • The extension sort method takes hidden files as file extensions.
  • No Tab completion for the hidden command.
  • --disk-usage: No device name when running on Termux (Android).
  • Positional parameter: cannot open file URI encoded directory names.
  • Positional parameter: If file contains references to self or parent dir (. or ..), the path is not properly resolved.
  • --data-dir rejects /usr/share/clifm, even when this is the actual data directory.
  • the =g filter skips some files with the SGID bit set.
  • Compilation error on MacOS Leopard (10.5).
  • The j command fails to change directory with escaped directory names.

New features/Improvements 😎 :godmode:

  • Add support for the kitty keyboard protocol. Use the --kitty-keys command line flag to ask the terminal to enable this protocol. Consult the manpage for more information.
  • Add support for styled underlines. See https://sw.kovidgoyal.net/kitty/underlines/#colored-and-styled-underlines
  • Add support for the Kitty Notifications Protocol (https://sw.kovidgoyal.net/kitty/desktop-notifications/). Enable via --desktop-notifications=kitty in the command line or DesktopNotifications=kitty in the configuration file.
  • If running in vi editing mode, print (ins) or (cmd) (for insert and command modes respectively) at the left of the prompt. Use the \v prompt escape code to handle this notification manually.
  • New bindable action: toggle-vi-mode (bound by default to Ctrl+Alt+j). Update your readline.clifm and keybindings.clifm files.
  • Force the use of a specific color palette via $CLIFM_FORCE_COLOR (supported values: 8, 16, 256, truecolor or 24bit).
  • Improve kb bind function (more sensible prompts and better overall flow).
  • Allow setting multiple keybindings for the same action. show-manpage2, for example, is not required anymore: just define an extra keybinding for show-manpage.
  • Better organization for the keybindings file (update your keybindings file).
  • --show-hidden,-a now takes true, first, last, and false as optional parameters (if no parameter is given, true is assumed).
  • Add first and last parameters to the hh/hidden command.
  • New prompt escape codes: \Q (number of regular and special files); \g (current sort order), and \j (octal permissions of the current directory).
  • New prompt (counter), using the above new prompt codes.
  • Image preview support for iTerm2. Set $method to iterm in the clifmimg script to force the use of this protocol. Update your clifmimg script.
  • Allow the use of multiple positional parameters. For example, clifm /etc ~/Downloads will start clifm in the /etc directory (first workspace), setting the second workspace to ~/Downloads.
  • Consistent format for setting messages (on/off).
  • Make bulk rename work with vis and helix text editors: br was complaining about the temporary file having being changed on disk due to how these editors save files by default (via rename(2)).

Misc

  • --no-apparent-size is deprecated. Use --physical-size instead.
  • --no-files-counter is deprecated. Use --no-file-counter instead.
  • undel command is deprecated. Use u/untrash instead.
  • splash command removed.

v1.24

Choose a tag to compare

@leo-arch leo-arch released this 02 Mar 08:00
850b9c8

Clifm 1.24 (Toothrot)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • File extension conflicts in default color scheme (16-color version).
  • Wrongly sorting Unicode file names (name and version sort).
  • When sorting by extension, CaseSensitiveList=true is ignored.
  • The value of PagerView is ignored when Pager is set to a value >=1.
  • Pressing c while in the pager stops listing (like q).
  • Running plain pg overwrites the value of Pager in the configuration file.
  • When mounting a filesystem via net mount, autocommands for this directory are not immediately executed.
  • The ad command complains that .rpm and .deb files are not archive/compressed files.
  • name sort behaves like version when file names start with numbers.
  • Not properly clearing the screen on Eterm terminal.
  • Wrong image size when previewing images on the Ghostty terminal.
  • The profiles function is broken (no config file change, system messages are not reset).
  • Wrong file color when tab completing globs after a path (e.g. dir/*.jpg<TAB>).
  • When there's only one profile Ctrl-Alt-p clears the screen and still attempts to the change the profile.
  • If we have no access to the main configuration directory, the selections file is created in /tmp instead of /tmp/clifm_$USER.
  • If we have no access to the main configuration directory, selected files are not written to the selections file.
  • Tab completion: Matches not sorted alphabetically in fzf (e.g. ls --<TAB>). Update your color scheme files.
  • Wrongly identifying extension conflicts when running with --lscolors.
  • /dir/GLOB<TAB> (e.g. /bin/p*<TAB>) do not generate previews whenever it is the first word.
  • The t command informs a wrong size for the trash directory.
  • No lock icon for non-regular files.
  • A few wrong colors when any of xs and/or xf color codes are unset (affects old color schemes).
  • Kilobytes written as KB instead of kB when using decimal sizes (--si).
  • Ctrl-Alt-b does nothing (points to non-existent function). Removed.
  • Cannot rebind bookmarks to Alt-b: clifm complains that this key conflicts with readline and refuses to continue.
  • Unsetting a keybinding via kb bind does not work.

New features/Improvements 😎 :godmode:

  • clifmimg: Drastically reduce the size of postscript thumbnails (1500%!). Update your clifmimg script.
  • Preview: add support for several image formats (dpx, jp2, miff, sgi, and wmf among others). Please update your preview.clifm file.
  • mimelist.clifm and preview.clifm config files: The %m placeholder expands to the file's MIME type.
  • Add support for OpenRaster images (open/preview).
  • Add sixel support auto-detection for Yaft.
  • Add support for .rpm, .deb, .arj, .Z, and .cab archives (open)
  • Preview: list files in .ztd, .rpm, and .deb archives.
  • Preview: add support for krita images (.kra and .krz), via the krita method in cligmimg.
  • Use PrioritySortChar in the configuration file to pin file names starting with PrioritySortChar to the top of the files list.
  • Two new values added to the ShowHiddenFiles option: first and last, to list hidden files first or last respectively.
  • Manually map file extensions to MIME types using the ~/.mime.types file.
  • Report the current directory to the underlying terminal (via the OSC-7 escape sequence). To enable this feature, run with --report-cwd.
  • Try harder to create a valid temporary directory (mostly in case of denied access to the directory).
  • If running with --lscolors (using FreeBSD LSCOLORS), read extension colors from the color scheme file.
  • Improve the kb command: attempt to display human-readable key presses (e.g. Shift-Up) instead of raw escape sequences (e.g. \e[1;2A).

Misc

  • $CLIFMRC cannot be used anymore to set the path to the main configuration file (use -c,--config-file instead).
  • If nf color code (inaccessible file) isn't set, use whatever color corresponds to the current file type and prepend and exclamation mark to the corresponding entry in the files list to mark it as inaccessible. Same for nd (inaccessible directory).
  • --no-trim-names, TrimNames, and MinFilenameTrim were renamed to --no-truncate-names, TruncateNames, and MinNameTruncate respectively (old names are deprecated).
  • open-sel, untrash-all, and move-sel keybindings are unset by default.
  • copy-sel can be used as an alias for paste-sel in keybindings.

v1.23

Choose a tag to compare

@leo-arch leo-arch released this 20 Jan 18:48
0cf4e98

Clifm 1.23 (Piranha poodle)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • TAB completion: file names with embedded control chars are not properly colorized.
  • TAB completion: no preview for file names with embedded control chars.
  • Not properly failing when --opener is given no parameter.
  • Image previews: img2txt method not working for ANSI images (clifmimg).
  • view command not working when running with --stdtab.
  • cl,columns command stopped working.
  • sel *.pdf works, but desel *.pdf doesn't.
  • Opening applications using the %x flag (mimelist file) not working with --secure-cmds.
  • MaxFilenameLen=-1 (in the config file) is ignored.
  • Garbage on the command line running a keybinding in vi-mode.
  • Wrong image placement (ueberzug method) when --height is set from either $FZF_DEFAULT_OPTS or FzfTabOptions.
  • Config: cmCmd=5 (rsync) does not copy directories themselves (but its content).
  • Cannot operate on file names containing REGEX characters (e.g. the command s c++ expands c++ as if it were a REGEX).
  • --preview/--open fail when given a file URI with percent-escaped characters (e.g. file:///home/user/this%20file.txt).
  • Cannot open file with single quote in name (e.g. John's file.txt).

New features/Improvements 😎 :godmode:

  • Add file preview for javascript files.
  • Image previews: add support for exr, fit, hdr, heic, pbm, pgm, pnm, ppm, and xpm image formats.
  • x command: expand environment variable in TerminalCmd (first word only) (config file).
  • x command: run terminal detached (via setsid(3)).
  • X command: do not run with sudo if already root.
  • Set the main configuration file path via $CLIFMRC. For example: CLIFMRC=/path/to/clifmrc clifm`.
  • Add --help to the reload command.
  • config reload can be used now instead of reload. Run config --help for more information.
  • Use --mimelist-file command line option to set an alternative mimelist file.
  • New prompt module (m_hostname_color): dynamically colorize the hostname depending on whether we're on a SSH session or not.
  • Adjust the number of spaces between icons and file names using the IconsGap option in the configuration file. Valid values: 0, 1 (default), or 2.
  • Explicitly check $XDG_DATA_HOME and $XDG_DATA_DIRS when setting clifm's data directory.
  • Add builtin confirmation prompt to c and m commands (previously using those provided by cp(1) and mv(1) commands themselves).
  • Set a default answer for confirmation prompts via DefaultAnswer in the config file (default value: o:n,r:n,t:y,R:n,d:y). This means: no for overwrite (includes c and m commands), remove, and bulk rename, yes for everything else (including trash).
  • Create files from templates using the n command. Run n --help for more information.
  • p/pp command: print both apparent and physical sizes.
  • Make --lscolors able to understand $LSCOLORS (FreeBSD style).
  • Purge the thumbnails directory of dangling thumbnails using the view purge command. Remember to update your clifmimg script to start populating the thumbnails database: cp /usr/share/clifm/plugins/clifmimg ~/.config/clifm/. Note that the thumbnails directory has been changed from $XDG_CACHE_HOME/clifm/previews to $XDG_CACHE_HOME/clifm/thumbnails. You can remove the old directory: from now on thumbnails will be stored in the new directory.
  • Both the mimelist and the preview configuration files now support the %u placeholder, which is expanded to the file URI for the original file name.
  • clifmimg: Generate thumbnail names as MD5 hashes of the file URI for the original file name (as recommended by the FreeDesktop specification) instead of hashing the file itself. This brings a nice performance improvement, specially when it comes to large files. This works along with the %u placeholder mentioned above. Update your clifmimg script. Also, though optional, update your preview.clifm config file to make use of the new %u placeholder by simply adding %u at the end of the clifmimg lines. E.g.: ^image/.*=~/.config/clifm/clifmimg image %f %u;. See the Image previews section for details.
  • Prevent big files from generating a preview via PreviewMaxSize in the config file. Supported size units: K, M, G, T; supported size range: 1K-2047G. E.g.: PreviewMaxSize=100M.
  • Colorize .csv files as documents (default color scheme).
  • Colorize .sass and .scss files as markup files (default color scheme).
  • Sort completion matches for mimetype filter (@TAB).
  • Add previewing app information to the mm info command. Mostly useful to solve previewing issues.

v1.22

Choose a tag to compare

@leo-arch leo-arch released this 23 Nov 21:49

Clifm 1.22 (Banana picker)

Download CliFM

Get distro-specific binary packages from the OpenSUSE Build System

Bug fixes 🪲 🐛

  • Wrong query string when TAB completing tagged files and --fuzzy-match is enabled.
  • When pressing Ctrl-Alt-[d,x] on a secondary prompt the cursor moves up one line.
  • --rl-vi-mode not working if RlEditMode is set in the config file.
  • No image preview for powerpoint files.
  • Wrong ueberzug image offset when fzf preview window border is set to border-[right,thinblock].
  • When clearing the screen, the scrollback buffer is not cleared on rxvt-based terminals.
  • Not using all available columns when running with --no-eln.
  • TAB completing file names in the prompt of the pc command after the first word.
  • Some keybindings (Alt-TAB, Alt-v, Alt-p) are operative in secondary prompts, when they shouldn't.
  • Garbage in the command line when trying to switch workspaces via a keybinding in a secondary prompt.
  • F12 (quit) not working on secondary prompts.
  • echo ELN does not expand to file name (while stat ELN does).
  • mf command expands numbers to ELN's.
  • When multiple system messages are generated, only the last one is displayed in the prompt.
  • Negation (!) does not work for workspaces and double asterisk expressions in autocommands.
  • Help messages ignore the command line text color.
  • The n/new command issues a warning when attempting to create a file in the home directory using the tilde (~/FILE).
  • File previews (TAB completion or the view command) ignore alternative preview file (set via either --shotgun-file, --config-dir, or --profile).
  • rr does not work with directory names containing spaces (e.g. rr this\ dir).
  • The open/preview function matches directories as valid opening applications.

New features/Improvements 😎 :godmode:

  • Extra file type filters for the = keyword: D for empty directories, F for empty regular files, and L for broken links. On Solaris, the D file type char (previously used for door files) was replaced by O.
  • Use the kb bind command to customize your key bindings instead of manually editing the keybindings file (via kb edit).
  • kb conflict now checks for readline key bindings as well.
  • Proper error messages when application does not exist/fails while previewing images (clifmimg).
  • Add image previewing method for mobi files (clifmimg).
  • Add support for legacy image formats: bmp, ico, pcx, and tga (clifmimg).
  • Automatic detection of available image preview methods. Update your clifmimg script (~/.config/clifm/clifmimg) (just remove it and restart) to make use of this new feature. By default, clifm and the clifmimg script will try to guess the best previewing method (sixel, ueberzug, kitty, or ansi). Edit the method variable in the clifmimg script to manually set a previewing method.
  • A more modern interface: If Unicode support is detected, clifm will draw decorations using Unicode characters (use --no-unicode to disable Unicode decorations, and --unicode to force it).
  • The selected files indicator in the prompt was replaced by S (previously *).
  • Right pad and colorize ELN's in the directory history map.
  • The color scheme is checked at startup for file extension conflicts. If found, the user is warned.
  • Use cs check-ext command to manually check for file extension conflicts.
  • Display bookmarked paths in the bookmarks screen.
  • Add names completion to the bookmarks prompt in the bookmarks screen (bm command).
  • Several improvements to the vv command.
  • Allow the use of tilde (~) for the home directory when editing a symbolic link (le command).
  • Active files filter (ft command) is always displayed.
  • Add files filter (ft) and full-dir-size (fz) to autocommands.
  • Allow using names for st in autocommands.
  • Use the auto command to set a temporary autocommand for the current directory. Run auto --help for more info.
  • New config file option: InformAutocmd to control how matching autocommands are displayed in the prompt. Available values: none, short, long, full, and prompt (default).
  • Better columns arrangement when listing files (vertical list only).
  • Lira: make opening applications invoked with the %x flag run in a new session (detached from the terminal) (via setsid(3)).
  • Lira: Check for Calligra and Gnumeric when opening office documents.
  • Add N file(s) copied/moved message to c and m commands.
  • Set TrashForce to false by default.
  • Do not print the list of removed/trashed files after files removal/trash.
  • Enable file system type and mountpoint (via --disk-usage) on Cygwin/MSYS2/Solaris.