@gokcehan gokcehan released this Aug 29, 2018 · 3 commits to master since this release

Assets 26

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

@gokcehan gokcehan released this Jul 18, 2018 · 19 commits to master since this release

Assets 26

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

@gokcehan gokcehan released this Jun 28, 2018 · 34 commits to master since this release

Assets 26

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

@gokcehan gokcehan released this Jun 16, 2018 · 52 commits to master since this release

Assets 26

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

@gokcehan gokcehan released this May 20, 2018 · 69 commits to master since this release

Assets 26

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

@gokcehan gokcehan released this Apr 20, 2018 · 90 commits to master since this release

Assets 26

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.
r2

@gokcehan gokcehan released this Apr 6, 2018 · 107 commits to master since this release

Assets 26

Changelog

  • (Breaking) Shell command names are shortened (e.g. read-shell-wait renamed to shell-wait).
  • (New) A new shell command type named shell-pipe is introduced that runs with the ui. See the updated documentation for the motivation and some example use cases.
  • (New) A new command named cmd-interrupt (default <c-c>) is introduced to interrupt the current shell-pipe command.
  • (New) A new command named select is introduced that changes current file selection to its argument.
  • Running cmd-hist-prev in normal mode now always starts with the last item to avoid confusion. Running cmd-hist-next in normal mode now has no effect for consistency.