Lf Versions Save

Terminal file manager

r12

5 years ago

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

5 years ago

Changelog

  • (Breaking) Copy and move operations are now implemented as builtins instead of using the underlying shell primitives (i.e. 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.
  • (New) Copy and move operations now run asynchronously and the progress is shown in the bottom ruler.
  • (New) Two new commands echomsg and echoerr 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, and loading...) are now shown with reverse attribute.

r10

5 years ago

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 with cmap patch. This should now work as before.
  • (Fix) Some 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.
  • (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

5 years ago

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 and smartdia 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 and relativenumber are added to enable line numbers in directories (by @tomarticek).
  • (Fix) Autocompletion should now show only a single match for redefined builtin commands.

r8

5 years ago

Changelog

  • (New) Four new commands 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.
  • (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 and reload now work properly when the current directory is deleted. Also lf 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 triggers load instead of reload.
  • (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

5 years ago

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 (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.
  • (New) History is now saved in a file in the data folder which can be found in the documentation.

r6

5 years ago

Changelog

  • (Breaking) Commands yank, delete, and put are renamed to copy, cut, and paste respectively. In the example configuration, remove command is renamed to delete.
  • (Breaking) Special command open-file to configure file opening is renamed to open.
  • (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 to top, bottom, page-up, and page-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 and C:\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

5 years ago

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 than reload 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

5 years ago

Changelog

  • (Breaking) Following commands are renamed for clarity and consistency:
    • 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
  • (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> for alt and f 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.

r3

6 years ago

Changelog

  • (Breaking) Command counts are now only applied for up/down (and variants), updir, toggle, search-next, and search-prev commands. These commands are now handled more efficiently when used with counts.
  • (New) Pressed keys are now shown in the ruler when they are not matched yet.
  • (New) A new builtin 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.
  • (New) Support for $LS_COLORS and $LSCOLORS environment variables are added for color customization (by @M1rt). See the updated documentation for more information.
  • (New) A new option drawbox is added to draw a box around panes.
  • (Fix) Resize events that change the height are now handled properly.
  • (Fix) Changes in sorting methods and options are checked for cached directories and these directories are sorted again if necessary while loading.
  • A ~ character is added as a suffix to file names when they do not fit to the window.