github gokcehan/lf r19

latest releases: r32, r31, r30...
3 years ago

Changelog

  • Changes have been made to enable the use of true image previews (by @Naheel-Azawy, @Provessor, and @neeshy). See the documentation and the previews wiki page for more information.
    • (Breaking) Non-zero exit codes should now make the preview volative to avoid caching. Programs that may not behave well to SIGPIPE may trigger this behavior unintentionally. You may trap SIGPIPE in your preview script to get the old behavior.
    • (Breaking) Preview scripts should now get arguments as the current file path, width, height, horizontal position, and vertical position. Note that height is still passed as an argument but its order is changed.
    • (New) A new cleaner option is added to set the path to a file to run when the preview is changed.
    • (Fix) Redundant preview loadings for movement commands are now avoided.
  • (Breaking) Expansion %w in promptfmt is changed back to its old behavior without a trailing separator (by @SPFabGerman). Instead, a new expansion %d is added with a trailing separator. Expansion %w is meant to be used to display the current working directory, whereas %d%f is meant to be used to display the current file.
  • (Breaking) A new LF_COLORS environment variable is now checked to be able to make lf specific configurations. Also, environment variables for colors are now read cumulatively starting from the default behavior (i.e. default, LSCOLORS, LS_COLORS, LF_COLORS).
  • (New) Full path, dir name, file name, and base name matching patterns are added to colors and icons (by @SPFabGerman and @mohkale). See the updated documentation for more information.
  • (New) Powershell keybinding example has been added to etc/lfcd.ps1 (by @sitiom).
  • (New) Powershell autocompletion script has been added as etc/lf.ps1 (by @sitiom).
  • (New) Multiple -command flags can now be given (by @kmarius).
  • (New) Basic mouse support has been added. Mouse buttons (e.g. <m-1> for primary button, <m-2> for secondary button, <m-3> for middle button etc.) and mouse wheels (e.g. <m-up> for wheel up, <m-down> for wheel down etc.) can be used in bindings.
  • (New) Commands top and bottom are now allowed in cmap mappings in addition to movement commands.
  • (Fix) Extension sorting should now handle extensions with different lenghts properly (by @kmarius).
  • (Fix) Heuristic used to show info should now take into account number and icons options properly.
  • (Fix) Environment variable id is now set to process id instead to avoid two clients getting the same id when launched at the same time (by @edganiukov).
  • (Fix) Unicode combining characters in texts should now be displayed properly.

Don't miss a new lf release

NewReleases is sending notifications on new releases.