Changed
- Tagging symbolic links now affects the target instead of the symbolic link itself. This mimics the behavior in
ranger(#1997). - The experimental command
invert-belowhas been removed in favor of the newly added support for Visual mode (#2021).
Added
- A new placeholder
%Prepresenting the scroll percentage is added to therulerfmtoption (#1985). - A new
on-loadhook command is added, which is triggered when files in a directory are loaded inlf(#2010). - The
infooption now supportscustom, allowing users to display custom information for each file (#2012). The custom information should be added by the user via theaddcustominfocommand. Sorting by the custom information is also supported (#2019). - Support for
visual-modehas now been added (#2021) (#2035). This includes the following changes:- A new command
visual(defaultV) can be used to enter Visual mode. - A new command
visual-change(defaultoin Visual mode) can be used to swap the positions of the cursor and anchor (start of the visual selection). - A new command
visual-accept(defaultVin Visual mode) can be used to exit Visual mode, adding the visual selection to the selection list. - A new command
visual-discard(default<esc>in Visual mode) can be used to exit Visual mode, without adding the visual selection to the selection list. - A new command
visual-unselectcan be used to exit Visual mode, removing the visual selection from the selection list. - The existing
mapcommand now adds keybindings for both Normal and Visual modes. Two new commandsnmapandvmapare added which can be used to add keybindings for only Normal or Visual mode respectively. - Two new commands
nmapsandvmapsare added to display the list of keybindings in Normal and Visual mode respectively. These, along with the existingmapsandcmapscommands, now display an extra column indicating the mode for which the keybindings apply to. - A new option
visualfmtis added to customize the appearance of the visual selection. - Two new placeholders
%mand%Mare added tostatfmtto display the mode in the status line. Both will displayVISUALwhen in Visual mode, however in Normal mode%mwill display as a blank string while%Mwill displayNORMAL. - A new placeholder
%vis added torulerfmtwhich displays the number of files in the Visual selection. This is included in the default setting forrulerfmt. - The
lf_modeenvironment variable will now be set tovisualwhile in Visual mode. - The environment variable
$fvis now exported to shell commands, which lists the files in the visual selection.
- A new command
- A
CHANGELOG.mdfile has been added to the repo (#2027). This will be updated to describeChanged,AddedandFixedfunctionality for each new release.
Fixed
- Displaying sixel images now uses the screen locking API in Tcell, which reduces flickering in the UI (#1943).
- The
cmd-historycommand is now ignored outside of Normal or Command-line mode, to prevent accidentally escaping out of other modes (#1971). - A potential crash when using the
cmd-delete-word-backcommand is fixed (#1976). - The
preserveoption now applies to directories in addition to files when copying. This includes preservingtimestamps(#1979) andmode(#1981). - The
lfrc.ps1.exampleexample config file is updated to include PowerShell equivalents for the default commands and keybindings (#1989). - Quoting for the
lfenvironment variable is fixed for PowerShell users (#1990). tempmarksare no longer cleared after thesynccommand is called (#1996).- The file stat information is no longer displayed during the execution of a
shell-pipecommand even if the file is updated (#2002). - Directories are now reloaded properly if any component in the current path is renamed (#2005).
- Write updates for the log file are now ignored when
watchis enabled. This helps to reduce notification spam and potential of infinite loops (#2015). - Attempting to
cut/copyfiles into a directory without execute permissions no longer causeslfto crash, and an error message will be displayed instead (#2024).