Closed
Description
Changelog
- (Breaking) There has been some changes in the server protocol. Make sure to kill the old server process when you update to avoid errors (i.e.
lf -remote 'quit!'
). - (Breaking) A new server command
query
is added to expose internal state to users (Addquery
server command to expose internal state #1384) (by @joelim-work). A new builtin commandcmds
is added to display the commands. The old builtin commandjumps
is now removed. The builtin commandsmaps
andcmaps
now use the new server command. - (Breaking) Environment variable exporting for files and options are not performed anymore while previewing and cleaning to avoid various issues with race conditions (Remove environment exports from preview thread #1354) (by @joelim-work). Cleaning program should now instead receive an additional sixth argument for the next file path to be previewed to allow comparisons with the previous file path. User options (i.e.
user_{option}
) are now exported whenever they are changed (Export user-options on change #1418) (by @raslop). - (Breaking) Command outputs are now exclusively attached to stderr to allow printing the last directory or selection to stdout (Allow lastdir/selection to be written to
stdout
#1399 and Add-print-last-dir
and-print-selection
flags #1402) (by @joelim-work). Two new command line options-print-last-dir
and-print-selection
are added to print the last directory and selection to stdout. The example scriptetc/lfcd.sh
is updated to use-print-last-dir
instead. Otherlfcd
scripts are also likely to be updated in the future to use the new method (patches are welcome). - (Breaking) The option
ruler
is now deprecated in favor of its replacementrulerfmt
(Addrulerfmt
option for improved ruler customization #1386) (by @joelim-work). The newrulerfmt
option is more capable (i.e. displays option values, supports colors and attributes, and supports optional fields) and more consistent with the rest of our options. See the documentation for more information. - (New) Modifier keys (i.e. control, shift, alt) with special keys (e.g. arrows, enter) are now supported for most combinations (Support modifiers in special key mappings #1248) (by @joelim-work).
- (New) A new option
borderfmt
is added to configure colors for pane borders (Support custom colors fordrawbox
characters #1251) (by @joelim-work). - (New) New
lf
specific environment variables,LF_CONFIG_HOME
on Windows andLF_CONFIG/DATA_HOME
on Unix, are now supported to set the configuration directory (LF_CONFIG_HOME environment variable #1253) (by @alok-mishra). - (New) Tilde (i.e.
~
) expansion is performed during completion to be able to use expanded tilde paths as command arguments (Expand tilde during autocompletion #1246) (by @joelim-work). - (New) A new option
preserve
is added to preserve attributes (i.e. mode and timestamps) while copying (preserve mtime when copying files #1026) (by @raslop). - (New) The file
etc/icons.example
is updated for nerd-fonts v3.0.0 (Update icons.example for nerd-font v3 release #1271) (by @MunifTanjim). - (New) A new builtin command
clearmaps
is added to clear all default keybindings except forread
(i.e.:
) andcmap
keybindings to be able to:quit
(Addclearmaps
command #1286) (by @joelim-work). - (New) A new option
statfmt
is added to configure the status line at the bottom (Addstatfmt
option #1288) (by @joelim-work). - (New) A new option
truncatepct
is added to determine the location of truncation from the beginning in terms of percentage (Flexible filename truncation #1029) (by @raslop). - (New) A new option
dupfilefmt
is added to configure the names of duplicate files while copying (Make duplicated file format configurable #1315) (by @Limero). - (New) Shell scripts
etc/lf.nu
andetc/lfcd.nu
are added to the repository to allow completion and directory change with Nushell (Added autocompletion and a simple lfcd script for nushell. #1341) (by @mauerlaeufer). - (New) Sixels are now supported for previewing (sixel preview #1211) (by @horriblename). A new option
sixel
is added to enable this behavior. - (New) A new configuration keyword
setlocal
is added to configure directory specific options (add 'setlocal' for directory specific options #1381) (by @gokcehan). - (New) A new command line command
cmd-delete-word-back
(defaulta-backspace
anda-backspace2
) is added to use word boundaries when deleting a word backwards (Addcmd-delete-word-back
command #1409) (by @janpeterd). - (Fix) Cursor positions in the directory should now be preserved after file operations that changes the directory (e.g. create or delete) (Prevent cursor jumping to bottom after deleting file #1247) (by @joelim-work).
- (Fix) Option
reverse
should now respect to sort stability requirements (Fix stable sort whenreverse
option is enabled #1261) (by @joelim-work). - (Fix) Backspace should not exit
filter
mode anymore (Disallow exiting from 'filter' mode with backspace #1269) (by @jdujava). - (Fix) Truncated double width characters should not cause misalignment for the file information (Refactor filename truncation code #1272) (by @joelim-work).
- (Fix) Piping shell commands should not refresh the preview anymore (Avoid refreshing previews for shell pipe commands #1281) (by @joelim-work).
- (Fix) Cursor position should now update properly after a terminal resize (Bound cursor position after terminal resize #1290) (by @joelim-work).
- (Fix) Directories should now be reloaded properly after a
delete
operation (Fix load issue when deleting files #1292) (by @joelim-work). - (Fix) Executable file completion should not add entries to the log file anymore (Remove test log statement during autocompletion #1307) (by @joelim-work).
- (Fix) Blank input lines are now allowed in piping shell commands (Allow blank input lines for
shell-pipe
commands #1308) (by @joelim-work). - (Fix) Shell commands arguments on Windows should now be quoted properly to fix various issues (Improve windows shell handling #1309) (by @joelim-work).
- (Fix) Reloading in a symlink directory should not follow the symlink anymore (Prevent following symbolic links when reloading #1327) (by @joelim-work).
- (Fix) Command
load
should not flicker image previews anymore (Prevent image preview flicker forload
command #1335) (by @joelim-work). - (Fix) Asynchronous shell commands should now trigger
load
automatically when they are finished (Callload
after shell-async commands #1345) (by @joelim-work). - (Fix) Changing the value of
preview
option should now clear image previews (Clean image preview onset preview!
#1350) (by @jdujava). - (Fix) Cursor position in the status line at the bottom should now consider double width characters properly (Fix cursor location when printing statline #1348) (by @joelim-work).
- (Fix) Filenames should only be quoted for
cmd
on Windows to avoid quoting issues forpowershell
(Wrap filenames in quotes only for Windows CMD #1371) (by @joelim-work). - (Fix) Inaccessible files should now be included in the directory list and display their lstat errors in the status line at the bottom (List files even when lstat fails #1382) (by @jantatje).
- (Fix) Command line command
cmd-delete-word
should now add the deleted text to the yank buffer (Addcmd-delete-word-back
command #1409) (by @janpeterd).
Metadata
Assignees
Labels
No labels
Activity