Terminal file manager
etc/lfcd.cmd
is updated to use the -print-last-dir
option instead of -last-dir-path
(#1444) (by @atahrijouti and @joelim-work). Similar changes have been made for etc/lfcd.ps1
(#1491) (by @alunegov), etc/lfcd.fish
(#1503) (by @postsolar), and etc/lfcd.nu
(#1575) (by @ZennoZenith).lf -doc
and the doc
command is now generated from Markdown using pandoc
(#1474) (by @gokcehan).hidecursorinactive
is added to hide the cursor when the terminal is not focused (#965) (by @laktak).on-redraw
is added to be able to run a command when the screen is redrawn or when the terminal is resized (#1479) (by @joelim-work).cutfmt
, copyfmt
and selectfmt
are added to configure the indicator color for cut/copied/selected files respectively (#1540) (by @joelim-work).zsh
completion is added for the lfcd
command (#1564) (by @postsolar).lf_mode
is now exported to indicate which mode lf
is currently running in (#1594) (by @joelim-work).rulerfmt
option is now left-padded with spaces to visually separate it from the file stat information (#1437) (by @joelim-work).lfcd
scripts (#1451) (by @joelim-work).high
and low
commands when scrolloff
is set to a large value (#1504) (by @joelim-work)..gitignore
) are named correctly after paste
if another file with the same name already exists (#1525) (by @joshuali925).SIGINT
(#1549) (by @mtoohey31).cd
command to change to a directory for the first time (#1536) (by @joelim-work).mark-save
/mark-remove
operation (#1544) (by @joelim-work).marks
and tags
files now raise an error message instead of crashing (#1614) (by @joelim-work).paste
operation succeeds (#1652) (by @joelim-work)..
is ignored to set the cursor position when renaming a directory (#1664) (by @Limero).period
should not cause flickers in sixel previews anymore (#1666) (by @joelim-work).lf -remote 'quit!'
).query
is added to expose internal state to users (#1384) (by @joelim-work). A new builtin command cmds
is added to display the commands. The old builtin command jumps
is now removed. The builtin commands maps
and cmaps
now use the new server command.user_{option}
) are now exported whenever they are changed (#1418) (by @raslop).-print-last-dir
and -print-selection
are added to print the last directory and selection to stdout. The example script etc/lfcd.sh
is updated to use -print-last-dir
instead. Other lfcd
scripts are also likely to be updated in the future to use the new method (patches are welcome).ruler
is now deprecated in favor of its replacement rulerfmt
(#1386) (by @joelim-work). The new rulerfmt
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.borderfmt
is added to configure colors for pane borders (#1251) (by @joelim-work).lf
specific environment variables, LF_CONFIG_HOME
on Windows and LF_CONFIG/DATA_HOME
on Unix, are now supported to set the configuration directory (#1253) (by @alok-mishra).~
) expansion is performed during completion to be able to use expanded tilde paths as command arguments (#1246) (by @joelim-work).preserve
is added to preserve attributes (i.e. mode and timestamps) while copying (#1026) (by @raslop).etc/icons.example
is updated for nerd-fonts v3.0.0 (#1271) (by @MunifTanjim).clearmaps
is added to clear all default keybindings except for read
(i.e. :
) and cmap
keybindings to be able to :quit
(#1286) (by @joelim-work).statfmt
is added to configure the status line at the bottom (#1288) (by @joelim-work).truncatepct
is added to determine the location of truncation from the beginning in terms of percentage (#1029) (by @raslop).dupfilefmt
is added to configure the names of duplicate files while copying (#1315) (by @Limero).etc/lf.nu
and etc/lfcd.nu
are added to the repository to allow completion and directory change with Nushell (#1341) (by @mauerlaeufer).sixel
is added to enable this behavior.setlocal
is added to configure directory specific options (#1381) (by @gokcehan).cmd-delete-word-back
(default a-backspace
and a-backspace2
) is added to use word boundaries when deleting a word backwards (#1409) (by @janpeterd).reverse
should now respect to sort stability requirements (#1261) (by @joelim-work).filter
mode anymore (#1269) (by @jdujava).delete
operation (#1292) (by @joelim-work).load
should not flicker image previews anymore (#1335) (by @joelim-work).load
automatically when they are finished (#1345) (by @joelim-work).preview
option should now clear image previews (#1350) (by @jdujava).cmd
on Windows to avoid quoting issues for powershell
(#1371) (by @joelim-work).cmd-delete-word
should now add the deleted text to the yank buffer (#1409) (by @janpeterd).jumps
is addded to display the jump list (#1233) (by @joelim-work).filter
is added to ruler
option to display the filter indicator (#1223) (by @joelim-work).bottom
command due to recent changes are fixed (#1240) (by @joelim-work).cursoractivefmt
, cursorparentfmt
and cursorpreviewfmt
have been added (#1086 and #1106) (by @ilyagr). The default style for the preview cursor is changed to underline. You can revert back to the old style with set cursorpreviewfmt "\033[7m"
.set option true/false
is added in addition to the previous syntax set option/nooption
(#758). If you have set option true
in your configuration, then there is no need for any changes as it was already working as expected accidentally. If you have set option false
in your configuration, then previously it was enabling the option instead accidentally but now it is disabling the option as intended. Any other syntax including set option on/off
are now considered errors and result in error messages. Boolean option toggling set option!
remains unchanged with no new alternative syntax added.VISUAL
is checked before EDITOR
for the default editor choice (#1197) (by @rumaks-xyz).tagfmt
and errorfmt
have been simplified to be able to avoid the reset sequence (#1086) (by @ilyagr).<down>
and <up>
have been added for cmd-history-next
and cmd-history-prev
respectively (#1112) (by @Limero).invert-below
is added to invert all selections below the cursor (#1101) (by @ilyagr).maps
and cmaps
have been added to display the current list of bindings (#1146) (#1201) (by @jackielii and @ilyagr).numberfmt
is added to customize line numbers (#1177) (by @joelim-work).lf_count
is now exported to use the count in shell commands (#1187) (by @joelim-work).lf
is now exported to be used as the executable path (#1176) (by @ilyagr).mkdir
binding is added to the example configuration (#1188) (by @ilyagr).top
and bottom
now accepts counts to move to a specific line (#1196) (by @joelim-work).ruler
is added to customize the ruler information with a new addition for free disk space (#1168 and #1205) (by @rrveex and @joelim-work).lfcd
files have been made safer to be able to alias the commands as lf
(#1049) (by @ilyagr).rename:
mode anymore (#1060) (by @ilyagr).drawbox
is enabled (#1150) (by @joelim-work).relativenumber
now shows zero in the current line (#1171) (by @joelim-work).doc
should now work even if lf
is not in the PATH variable (#1176) (by @ilyagr).selmode
is now validated for the accepted values (#1206) (by @joelim-work).high
, middle
, and low
are added to move the current selection relative to the screen (#824) (by @laktak).history
option is now added to be able to disable history (#866) (by @segf00lt).%S
spacer is added for promptfmt
to be able to right align parts (#867) (by @laktak).cmd-menu-accept
is now added to accept the currently selected match (#934) (by @p-ouellette).map
and cmap
(#934) (by @p-ouellette).dirpreviews
is now added to also pass directories to the previewer script (#842) (by @ilmari-h).selmode
is now added to be able to limit the selection to the current directory (#849) (by @laktak).user_
prefix are now supported (#865) (by @laktak).$/%/!/&
characters in :
mode should now change the mode accordingly (#960) (by @ilyagr).on-select
is now added to be able to run a command after the selection changes (#864) (by @laktak).lf_width
and lf_height
are now exported for shell commands.tagfmt
can now be changed properly.cmd-menu-complete-back
should now select the last completion as expected (#934) (by @p-ouellette).incsearch
option should now be handled properly (#944) (by @p-ouellette).HOME
and USER
should now be used as fallback for locations on some systems (#972) (by @GaetanLepage).-log
is provided.map p :paste; clear
to get the old behavior.XDG_RUNTIME_DIR
when set with a fall back to the temporary directory otherwise (with @desbma).dircounts
option is moved from ui drawing to directory reading to be run asynchronously without locking the ui. With this change, manual reload
commands might be necessary when dircounts
is changed at runtime. Indicators for errors are changed to !
instead of ?
to distinguish them from missing values.$1 == $f
) and act accordingly (e.g. skip cleaning).tempmarks
option is added to set some marks as temporary (by @laktak).*filename
is added for colors and icons (by @lmburns).calcdirsize
command is added to calculate directory sizes (by @laktak).infotimefmtnew
and infotimefmtold
are added to configure the time format used in info
(by @maicher and @laktak).jump-next
(default ]
) and jump-prev
(default [
) are added to navigate the jumplist (by @laktak).etc
directory. See the documentation for more information.open
command in now provided in the powershell example configuration (by @seantwie03).scroll-up
(default <c-y>
) and scroll-down
(default <c-e>
) are added to be able to scroll the file list without moving (by @sbinnee).on-quit
is added to be able to run a command before quitting.tag
and tag-toggle
(default t
) are now added to be able to tag files (by @sant0s12).PWD
variable is not quoted properly.%
and &
are now run in a separate process group (by @laktak).PWD
variable are now handled properly.dironly
option is added to only show directories and hide regular files (by @mtoohey31).dircache
option is added to disable caching of directories (by @sigasigasiga).filter
and setfilter
is added along with a new option incfilter
and a promptfmt
expansion %F
to implement directory filtering feature (by @SPFabGerman).pre-cd
is added to run a command before a directory is changed (by @SPFabGerman).cmap
command now accepts all expressions similar to map
(by @SPFabGerman).hidden
option is changed (by @kmarius).load
and save
commands are now removed. Instead a local file is used to record file selections (e.g. ~/.local/share/lf/files
). See the documentation for more information.quit
command is renamed to quit!
to act as a force quit by closing connected client connections first. A new quit
command is added to only quit when there are no connected clients left.autoquit
option is added to automatically quit server when there are no connected clients left. This option is disabled by default to keep the old behavior. This is added as an option to avoid respawning server repeatedly when there is often a single client involved but more clients are spawned from time to time.-single
command line flag is added to avoid spawning and/or connecting to server on startup. Remote commands would not work in this case as the client does not connect to a server. Local versions of internal load
and sync
commands are implemented properly.drawbox
option changes and true image previews should be triggered to be drawn at updated positions.hidden
option is changed.ratios
(by @kmarius).'
is preserved properly after sync
commands (by @kmarius).\033[K
) used in some command outputs should now be ignored properly.