github gokcehan/lf r27

latest releases: r33, r32, r31...
2 years ago

Changelog

  • (Breaking) Creation of log files are now disabled by default (with @desbma). Instead, a new command line option -log is provided.
  • (Breaking) Copy selections are now kept after paste (by @laktak). You can use map p :paste; clear to get the old behavior.
  • (Breaking) Socket file is now created in XDG_RUNTIME_DIR when set with a fall back to the temporary directory otherwise (with @desbma).
  • (Breaking) Directory counting with dircounts option is moved from ui drawing to directory reading to be run asynchronously without locking the ui. With this change, manual reload commands might be necessary when dircounts is changed at runtime. Indicators for errors are changed to ! instead of ? to distinguish them from missing values.
  • (Breaking) The default icons are now replaced with ascii characters to avoid font issues.
  • (New) Files and options are now exported for previewer and cleaner scripts (with @lucas-mior). For cleaner scripts, this can be used to detect if the file selection is changed or not (e.g. $1 == $f) and act accordingly (e.g. skip cleaning).
  • (New) A new tempmarks option is added to set some marks as temporary (by @laktak).
  • (New) Pattern *filename is added for colors and icons (by @lmburns).
  • (New) A new calcdirsize command is added to calculate directory sizes (by @laktak).
  • (New) Two new options infotimefmtnew and infotimefmtold are added to configure the time format used in info (by @maicher and @laktak).
  • (New) Two new commands jump-next (default ]) and jump-prev (default [) are added to navigate the jumplist (by @laktak).
  • (New) Colors and icons file support is now added to be able to configure without environment variables. Example colors and icons files are added to the repository under etc directory. See the documentation for more information.
  • (New) For Windows, an example open command in now provided in the powershell example configuration (by @seantwie03).
  • (New) Two new commands scroll-up (default <c-y>) and scroll-down (default <c-e>) are added to be able to scroll the file list without moving (by @sbinnee).
  • (New) A new special command on-quit is added to be able to run a command before quitting.
  • (New) Two new commands tag and tag-toggle (default t) are now added to be able to tag files (by @sant0s12).
  • (Fix) Chmod calls in the codebase are now removed to avoid TOC/TOU exploits (with @desbma). Instead, file permissions are now set at file creations.
  • (Fix) Socket and log files are now created with only user permissions (with @desbma).
  • (Fix) On Windows, PWD variable is not quoted properly.
  • (Fix) Shell commands % and & are now run in a separate process group (by @laktak).
  • (Fix) Navigation initialization is now delayed after the evaluation of configuration files to avoid startup races and redundant loadings (with @laktak).
  • (Fix) The error message shown when the current working directory does not exist at startup is made more clear.
  • (Fix) Trailing slashes in PWD variable are now handled properly.
  • (Fix) Files with stat errors are now skipped while reading directories.

Don't miss a new lf release

NewReleases is sending notifications on new releases.