You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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. :quit instead of : quit) for each line (#2161). The command sed -i -E 's/^(.) /\1/' ~/.local/share/lf/history can be run to make an existing history file compatible with the new format.
The cmd-history-next and cmd-history-prev commands 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 of cd -- [~]) (#2165).
yes-no-prompts now use the same design everywhere (#2212).
Logs generated by -log <path> now get appended to <path> instead of overwriting it (#2215).
The showbinds menu now hides the redundant mode column (#2226) (#2228) and omits already typed keys (#2249).
The setlocal command no longer requires absolute paths (#2253).
The string representation of file permissions now matches the traditional Unix format instead of the one used by Go (#2270).
Added
A new command cmd-menu-discard is added to allow exiting the completion menu with completions discarded (#2146).
The lf_mode environment variable will now be set to compmenu if the completion menu is active (#2146).
A ruler config file is added as an alternate method for customizing the ruler (#2186). This is intended to eventually replace the existing rulerfmt/statfmt options and must be enabled using the new rulerfile option. This feature is currently experimental.
A new option preload is added to enable calling the previewer to generate previews in advance (#2206). This feature is currently experimental.
OSC 8 escape codes to render clickable hyperlinks are now supported (#2243).
Fixed
shell-pipe commands 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. 0 is ordered before 00) (#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 source command does not show an error message upon failure is now fixed (#2189).
The addcustominfo (#2198) and setlocal (#2254) (#2259) commands, as well as the cleaner and previewer options (#2211) now support filename completions.
A bug where an empty custom info property would still take up space is now fixed (#2208).
A bug where setting drawbox could lead to scrolling outside the view is now fixed (#2210) (#2218).
The preview cache is now not cleared when setting ratios to its current value (#2218).
Filtering is fixed when using special characters in the search pattern if the filtermethod is text (#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).