Changed
- File extensions are now shown for long filenames even if they are truncated (#2159).
- The history file will no longer contain a space between the prefix and the actual command (e.g.
:quitinstead of: quit) for each line (#2161). The commandsed -i -E 's/^(.) /\1/' ~/.local/share/lf/historycan be run to make an existing history file compatible with the new format. - The
cmd-history-nextandcmd-history-prevcommands will now select only matching entries if part of the command is typed beforehand (#2161). Consecutive duplicate entries will also be skipped for convenience. - The string representation of commands shown when displaying keybindings is simplified (e.g.
cd ~instead ofcd -- [~]) (#2165). yes-no-promptsnow use the same design everywhere (#2212).- Logs generated by
-log <path>now get appended to<path>instead of overwriting it (#2215). - The
showbindsmenu now hides the redundantmodecolumn (#2226) (#2228) and omits already typed keys (#2249). - The
setlocalcommand no longer requires absolute paths (#2253). - The string representation of file permissions now matches the traditional
Unixformat instead of the one used byGo(#2270).
Added
- A new command
cmd-menu-discardis added to allow exiting the completion menu with completions discarded (#2146). - The
lf_modeenvironment variable will now be set tocompmenuif the completion menu is active (#2146). - A
rulerconfig file is added as an alternate method for customizing the ruler (#2186). This is intended to eventually replace the existingrulerfmt/statfmtoptions and must be enabled using the newrulerfileoption. This feature is currently experimental. - A new option
preloadis added to enable calling thepreviewerto generate previews in advance (#2206). This feature is currently experimental. OSC 8escape codes to render clickable hyperlinks are now supported (#2243).
Fixed
shell-pipecommands no longer wait for output if kept open after the command has finished running (#2155).- Natural sorting now compares string lengths when dealing with equivalent numbers (e.g.
0is ordered before00) (#2177). - A bug where the copy progress indicator only displayed the first time a file was copied is now fixed (#2181).
- A bug where the
sourcecommand does not show an error message upon failure is now fixed (#2189). - The
addcustominfo(#2198) andsetlocal(#2254) (#2259) commands, as well as thecleanerandprevieweroptions (#2211) now support filename completions. - A bug where an empty
custominfo property would still take up space is now fixed (#2208). - A bug where setting
drawboxcould lead to scrolling outside the view is now fixed (#2210) (#2218). - The preview cache is now not cleared when setting
ratiosto its current value (#2218). - Filtering is fixed when using special characters in the search pattern if the
filtermethodistext(#2231). - Custom commands that output messages (e.g.
cmd greet echo 'hello world') now display properly (#2245). - Errors in config files are now displayed properly (#2246).