Releases: gokcehan/lf
Releases · gokcehan/lf
r15
Changelog
- (Breaking) Command
toggle
does not move the selection down anymore. Default binding for<space>
is now assigned to:toggle; down
instead to keep the default behavior same as before. - (Breaking) Expansion
%w
in optionpromptfmt
should now have a trailing slash. Default value ofpromptfmt
is now changed accordingly. The default value should not display double slashes in the root directory anymore. - (Breaking) Key
<esc>
is now used as the escape key. It should not display an error message when used to cancel a keybinding menu as before. However, it is not possible to bind<esc>
key to another command anymore. - (New) Symbolic link destinations are now shown in the bottom status line (by @wedens).
- (New) A new
hiddenfiles
option which takes a list of globs is implemented to customize which files should be hidden (by @adamtabrams). - (New) Expressions consisting of multiple commands can now use counts (by @gotroyb127).
- (New) Moving operations now fall back to copy and then delete strategy automatically for cross-device linking.
- (New) Option
hidden
now works in windows. - (New) Command
toggle
can now take optional arguments to toggle given names instead of the current file (by @gotroyb127). - (New) A new option
truncatechar
is implemented to customize the truncate character used in long filenames (by @YerinAlexey). - (New) Copy and move operations now display a success message when they are finished (by @YerinAlexey).
- (Fix) SIGHUP and SIGTERM signals are now properly handled. Log files should not remain when terminals are directly closed (by @Provessor).
- (Fix) Option
info
should now align properly when used with optionnumber
andrelativenumber
(by @gotroyb127). - (Fix) Tilde
~
is now only expanded at the beginning of path forcd
andselect
commands (by @gotroyb127). - (Fix) Command
rename
should now work properly with names differing only cases on case-insensitive filesystems. - (Fix) Tab characters are now expanded to spaces in windows.
- (Fix) Option
incsearch
now respects the search direction accordingly. - (Fix) Server is now started in the home folder and will not hold mounted filesystems busy (by @shabahengam).
- (Fix) Trailing spaces in configuration files do not confuse the parser anymore.
- (Fix) Termbox version is updated to fix a keyboard problem in FreeBSD (by @doronbehar).
- (Fix) Async commands do not leave zombie processes anymore (by @gotroyb127).
- (Fix) Option
hidden
now works consistently as expected when set at the initial launch. - (Fix) Command
rename
should now select the new file after the operation. - (Fix) Command
rename
should now handle absolute paths properly. - (Fix) Command
select
should now work properly on loading directories. Custom commands that select a file after an operation should now work properly without an explicitload
operation beforehand. - (Fix) Previous errors in the bottom message line should not persist through the prompt usage anymore.
- (Fix) Command
push
should not fail with non-ascii characters anymore. - (Fix) Command
select
should not fail with broken links anymore. - (Fix) Command
load
should not clear toggled broken links anymore. - (Fix) Copy and move operations do not overwrite broken links anymore.
r14
Changelog
- (New) Command
delete
now shows a prompt with the current filename or the number of selected files (by @Limero). - (New) Backslash can now be escaped with a backslash even without the quotes.
- (New) A new desktop entry file
lf.desktop
is added (by @doronbehar). - (New) Three new
sortby
types are added, access time (i.e.atime
), change time (i.e.ctime
), and extension (i.e.ext
). New default keybindings are added for these sorts correspondingly (i.e.sa
,sc
, andse
). Optioninfo
can now also containatime
andctime
values accordingly (by @kmwenja). - (New) A new shell completion for
zsh
is added toetc/lf.zsh
(by @JurisMajors). - (New) Command
delete
now works asynchronously and shows the progress (by @JurisMajors). - (New) Completion and directory change scripts are added for
csh
andtcsh
asetc/lf.csh
andetc/lfcd.csh
respectively (by @nereusx). - (New) A new special command
on-cd
is added to run a shell command when the directory is changed. See the documentation for 8000 more information. (by @ath3). - (Fix) Some directories with special permissions that previously show a file icon now shows a directory icon properly (by @Naheel-Azawy).
- (Fix) Script
etc/lfcd.cmd
can now also change to a different volume drive (by @YongJieYongJie). - (Fix) The proper use of
setsid
for opening files is now added to the example configuration and the documentation (by @LukeSmithxyz). - (Fix) Home directory abbreviation
~
is now only applied properly to paths starting with the home directory (by @arolle). - (Fix) Command
rename
now cancels the operation if old and new paths are the same (by @Limero). - (Fix) Autocompletion and word movements should now work properly with all unicode characters.
- (Fix) Command
shell-pipe
which was broken some time ago should now work as expected. - (Fix) Variable
$TERM
can now work with values containingtmux
with custom$TERMINFO
values (by @doronbehar). @doronbehar now maintains a termbox fork for lf (https://github.com/doronbehar/termbox-go).
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.