Terminal file manager
godep
for dependency management. Package maintainers may need to update accordingly.errorfmt
option is added to customize the colors and attributes of error messages.$id
, $EDITOR
, $LF_LEVEL
) are now exported on startup so they can be used in preview scripts without running a shell command first.$f
, $fs
, and $fx
to handle filenames with spaces properly..
characters are now shown to avoid crashes when filenames show up as empty.cp
and mv
). Users who want the old behavior can define a custom paste
command. See the updated documentation for more information. Please report bugs regarding this change.echomsg
and echoerr
are added to print a message to the message line and to the log file at the same time.empty
, binary
, and loading...
) are now shown with reverse attribute.cmap
is removed. This has caused a number of bugs in the previous release. A different mechanism for a similar functionality is planned.-command
has been added to execute a command on client initialization (by @TeddyDD).select
command is now executed after initialization if the first command line argument is a file.delete
command.shell-pipe
commands were broken with cmap
patch. This should now work as before.push
commands were broken with cmap
patch and sometimes ignored command line mode for some keys to execute as in normal mode. This should now work as before.:shell
should switch the prefix to $
).color256
is added to use 256 colors instead. Users who want the old behavior should enable this option in their configuration files.incsearch
option is added to enable incremental matching while searching.ignoredia
and smartdia
are added to ignore diacritics in latin letters for search and find (by @martinlebeda).delete
command is added for file deletion (by @Kallinteris-Andreas). This command is not assigned to a key by default to prevent accidental deletions. In the future, a prompting mechanism may be added to this command for more safety.cmap
which can be used to immediately finish command mode and execute a normal command afterwards.number
and relativenumber
are added to enable line numbers in directories (by @tomarticek).find
, find-back
, find-next
, and find-prev
are added to implement file finding. Two options anchorfind
and findlen
are added to customize the behavior of these commands.quit
command is added to the server protocol to quit the server.$LF_LEVEL
variable is added to show the nesting level.load
and reload
now work properly when the current directory is deleted. Also lf
does not start in deleted directories anymore.shell-pipe
now triggers load
instead of reload
.lf
fails to start due to either $HOME
or $USER
variables being empty or not set./etc/lfrc
to /etc/lf/lfrc
.man
command. On a related note, there is now a packaging guide section in packages wiki page.doc
command (default <f-1>
) is added to view the documentation in a pager.mark-save
(default m
) and mark-load
(default '
) are added to implement builtin bookmarks. Marks are saved in a file in the data folder which can be found in the documentation.yank
, delete
, and put
are renamed to copy
, cut
, and paste
respectively. In the example configuration, remove
command is renamed to delete
.open-file
to configure file opening is renamed to open
.shellopts
is added to be able to pass command line arguments to the shell interpreter (i.e. {shell} {shellopts} -c {cmd} -- {args}
) which is useful to set safety options for all shell commands (i.e. sh -eu ..
). See the example configuration file for more information.<home>
, <end>
, <pgup>
, and <pgdn>
are mapped to top
, bottom
, page-up
, and page-down
commands respectively by default.source
is added to read a configuration file./etc/lfrc
on unix and C:\ProgramData\lf\lfrc
on windows. Documentation is updated to show the locations of all configuration files.$EDITOR
, $PAGER
, $SHELL
) are set to their default values when they are not set or empty and they are exported to shell commands.$OPENER
is added to configure the default file opener using the previous default values and it is exported to shell commands.period
is added to set time duration in seconds for periodic refreshes. Setting the value of this option to zero disables periodic refreshes which is the default behavior.load
is added to refresh only modified files and directories which is more efficient than reload
command.cmd-word-back
does not change the command line anymore.put
command is used.hidden
option is changed.hidden
option is changed.bot
is renamed to bottom
cmd-delete-word
is renamed to cmd-delete-unix-word
cmd-beg
is renamed to cmd-home
cmd-delete-beg
is renamed to cmd-delete-home
cmd-comp
is renamed to cmd-complete
cmd-hist-next
is renamed to cmd-history-next
cmd-hist-prev
is renamed to cmd-history-prev
cmd-put
is renamed to cmd-yank
a
prefix, as in <a-f>
for alt
and f
keys. Also note that the old mechanism for alt keybindings on 8-bit terminals still works as before.cmd-word
with <a-f>
cmd-word-back
with <a-b>
cmd-capitalize-word
with <a-c>
cmd-delete-word
with <a-d>
cmd-uppercase-word
with <a-u>
cmd-lowercase-word
with <a-l>
cmd-transpose-word
with <a-t>
up/down
(and variants), updir
, toggle
, search-next
, and search-prev
commands. These commands are now handled more efficiently when used with counts.draw
command has been added which is more efficient than redraw
command. The latter is replaced with the former in many places to prevent flickers on the screen.$LS_COLORS
and $LSCOLORS
environment variables are added for color customization (by @M1rt). See the updated documentation for more information.drawbox
is added to draw a box around panes.~
character is added as a suffix to file names when they do not fit to the window.