Releases: gokcehan/lf
Releases · gokcehan/lf
r13
Changelog
- (New) A new
wrapscroll
option is added to wrap top and bottom while scrolling (by @Limero). - (New) Movement commands
up
,down
and their variants,updir
, andopen
are now allowed incmap
mappings. - (New) Two new
glob-select
andglob-unselect
commands are added to use globbing for toggling files (by @JurisMajors). - (New) A new
mark-remove
(default"
) command is added to remove a mark (by @JurisMajors). - (New) An experimental icon support is added with
icon
option. See the wiki page for more details. - (New) A new builtin
rename
command is added (by @JurisMajors). - (Fix) Command
cmd-history-next
now remains in command mode after the last item (by @Limero). - (Fix) Command
select
does not change directory anymore when used on a directory. - (Fix) Working directory is now changed to the first argument when it is a directory.
- (Fix) Option
ratios
is now checked beforepreview
to avoid crashes (by @ath3). - (Fix) Previous error messages are now cleared after successful commands (with @JurisMajors).
- (Fix) Symlink to directories are now colored as symlinks (by @nvllsvm).
- (Fix) Permission errors for directories are now displayed properly instead of showing empty (by @JurisMajors).
r12
Changelog
- (New) Go modules replaced
godep
for dependency management. Package maintainers may need to update accordingly. - (New) A new
errorfmt
option is added to customize the colors and attributes of error messages. - (Fix) Autocompletion for searches now complete filenames instead of commands.
- (Fix) Permanent environmental variables (e.g.
$id
,$EDITOR
,$LF_LEVEL
) are now exported on startup so they can be used in preview scripts without running a shell command first. - (Fix) On windows, quotes are added to the values exported values of
$f
,$fs
, and$fx
to handle filenames with spaces properly. - (Fix) On windows, filenames starting with
.
characters are now shown to avoid crashes when filenames show up as empty.
r11
Changelog
- (Breaking) Copy and move operations are now implemented as builtins instead of using the underlying shell primitives (i.e.
cp
andmv
). Users who want the old behavior can define a custompaste
command. See the updated documentation for more information. Please report bugs regarding this change. - (New) Copy and move operations now run asynchronously and the progress is shown in the bottom ruler.
- (New) Two new commands
echomsg
andechoerr
are added to print a message to the message line and to the log file at the same time. - Terminal initialization errors are now shown in the terminal instead of the log file.
- Preview messages (i.e.
empty
,binary
, andloading...
) are now shown with reverse attribute.
r10
Changelog
- (Breaking) Ability to map normal commands in
cmap
is removed. This has caused a number of bugs in the previous release. A different mechanism for a similar functionality is planned. - (New) A new command line flag
-command
has been added to execute a command on client initialization (by @TeddyDD). - (New) A
select
command is now executed after initialization if the first command line argument is a file. - (New) A prompting mechanism has been added to the builtin
delete
command. - (Fix) Input and output in
shell-pipe
commands were broken withcmap
patch. This should now work as before. - (Fix) Some
push
commands were broken withcmap
patch and sometimes ignored command line mode for some keys to execute as in normal mode. This should now work as before. - (Fix) Read and shell commands should now also work when typed manually (e.g. typing
:shell
should switch the prefix to$
). - (Fix) Configuration files are now read after initialization.
- (Fix) Background colors are removed from defaults to avoid confusion with selection highlighting.
r9
Changelog
- (Breaking) Default number of colors is set to 8 to have better defaults in some terminals. A new option
color256
is added to use 256 colors instead. Users who want the old behavior should enable this option in their configuration files. - (New) A new
incsearch
option is added to enable incremental matching while searching. - (New) Two new options
ignoredia
andsmartdia
are added to ignore diacritics in latin letters for search and find (by @martinlebeda). - (New) A new builtin
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. - (New) Normal mode commands can now be used in
cmap
which can be used to immediately finish command mode and execute a normal command afterwards. - (New) A new fish completion script is added to etc folder (by @TeddyDD).
- (New) Two new options
number
andrelativenumber
are added to enable line numbers in directories (by @tomarticek). - (Fix) Autocompletion should now show only a single match for redefined builtin commands.
r8
Changelog
- (New) Four new commands
find
,find-back
,find-next
, andfind-prev
are added to implement file finding. Two optionsanchorfind
andfindlen
are added to customize the behavior of these commands. - (New) A new
quit
command is added to the server protocol to quit the server. - (New) A new
$LF_LEVEL
variable is added to show the nesting level. - (Fix) Commands
load
andreload
now work properly when the current directory is deleted. Alsolf
does not start in deleted directories anymore. - (Fix) Server is now started as a detached process in windows so its lifetime is not tied to the command line window anymore.
- (Fix) Clients now try to reconnect to the server at startup with exponentially increasing intervals when they fail. This is to avoid connection failures due to server not being ready for the first client that automatically start the server.
- (Fix) The old index is now kept when the current selection is deleted.
- (Fix) Command
shell-pipe
now triggersload
instead ofreload
. - (Fix) Error messages are now more informative when
lf
fails to start due to either$HOME
or$USER
variables being empty or not set. - Searching for the next/prev item is now based on the direction of the initial search.
r7
Changelog
- (Breaking) System-wide configuration path on unix is changed from
/etc/lfrc
to/etc/lf/lfrc
. - (New) A man page is now automatically generated from the documentation which can be installed to make the documentation availabe with
man
command. On a related note, there is now a packaging guide section in packages wiki page. - (New) A new
doc
command (default<f-1>
) is added to view the documentation in a pager. - (New) Commands
mark-save
(defaultm
) andmark-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. - (New) History is now saved in a file in the data folder which can be found in the documentation.
r6
Changelog
- (Breaking) Commands
yank
,delete
, andput
are renamed tocopy
,cut
, andpaste
respectively. In the example configuration,remove
command is renamed todelete
. - (Breaking) Special command
open-file
to configure file opening is renamed toopen
. - (New) A new option
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. - (New) Special keys
<home>
,<end>
,<pgup>
, and<pgdn>
are mapped totop
,bottom
,page-up
, andpage-down
commands respectively by default. - (New) A new command
source
is added to read a configuration file. - (New) Support is added to read a system-wide configuration file on startup located in
/etc/lfrc
on unix andC:\ProgramData\lf\lfrc
on windows. Documentation is updated to show the locations of all configuration files. - (New) Environmental variables used for configuration (i.e.
$EDITOR
,$PAGER
,$SHELL
) are set to their default values when they are not set or empty and they are exported to shell commands. - (New) A new environmental variable
$OPENER
is added to configure the default file opener using the previous default values and it is exported to shell commands. - (Fix) Executable completion now works on windows as well.
r5
Changelog
- (New) Server is automatically restarted on startup if it does not work anymore.
- (New) A new option
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. - (New) A new command
load
is added to refresh only modified files and directories which is more efficient thanreload
command. - (Fix)
cmd-word-back
does not change the command line anymore. - (Fix) Modified files and directories are automatically detected and refreshed when they are loaded from cache.
- (Fix) All clients are now refreshed when
put
command is used. - (Fix) Correct hidden parent is selected when
hidden
option is changed. - (Fix) Preview is properly updated when
hidden
option is changed.
r4
Changelog
- (Breaking) Following commands are renamed for clarity and consistency:
bot
is renamed tobottom
cmd-delete-word
is renamed tocmd-delete-unix-word
cmd-beg
is renamed tocmd-home
cmd-delete-beg
is renamed tocmd-delete-home
cmd-comp
is renamed tocmd-complete
cmd-hist-next
is renamed tocmd-history-next
cmd-hist-prev
is renamed tocmd-history-prev
cmd-put
is renamed tocmd-yank
- (New) Support for alt key bindings have been added using the commonly used escape delaying mechanism. Delay value is set to 100ms which is also used for other escape codes in termbox. Keys are named with an
a
prefix, as in<a-f>
foralt
andf
keys. Also note that the old mechanism for alt keybindings on 8-bit terminals still works as before. - (New) Following command line commands and their default alt keybindings have been added:
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>
- (Fix) Default editor, pager, and opener commands should now work in windows. Opener still only works with paths without spaces though.
- (Fix) 8-bit color codes and attributes are not confused anymore.
- (Fix) History selection is disabled when a piping shell command is running.
- Searches are now excluded from history.