github gokcehan/lf r29

latest releases: r33, r32, r31...
18 months ago

Changelog

  • (Breaking) An alternative boolean option syntax set option true/false is added in addition to the previous syntax set option/nooption (#758). If you have set option true in your configuration, then there is no need for any changes as it was already working as expected accidentally. If you have set option false in your configuration, then previously it was enabling the option instead accidentally but now it is disabling the option as intended. Any other syntax including set option on/off are now considered errors and result in error messages. Boolean option toggling set option! remains unchanged with no new alternative syntax added.
  • (Breaking) Cursor is now placed at the file extension by default in rename prompts (#1162) (by @rrveex).
  • (Breaking) The environment variable VISUAL is checked before EDITOR for the default editor choice (#1197) (by @rumaks-xyz).
  • (New) Mouse wheel events with the Control modifier have been bound to scrolling by default (#1051) (by @ilyagr).
  • (New) Three new options cursoractivefmt, cursorparentfmt and cursorpreviewfmt have been added (#1086 and #1106) (by @ilyagr).
  • (New) Option values for tagfmt and errorfmt have been simplified to be able to avoid the reset sequence (#1086) (by @ilyagr).
  • (New) Two default command line bindings for <down> and <up> have been added for cmd-history-next and cmd-history-prev respectively (#1112) (by @Limero).
  • (New) A new command invert-below is added to invert all selections below the cursor (#1101) (by @ilyagr).
  • (New) Two new commands maps and cmaps have been added to display the current list of bindings (#1146) (#1201) (by @jackielii and @ilyagr).
  • (New) A new option numberfmt is added to customize line numbers (#1177) (by @joelim-work).
  • (New) A new environment variable lf_count is now exported to use the count in shell commands (#1187) (by @joelim-work).
  • (New) A new environment variable lf is now exported to be used as the executable path (#1176) (by @ilyagr).
  • (New) An example mkdir binding is added to the example configuration (#1188) (by @ilyagr).
  • (New) An example binding to show execution results is added to the example configuration (#1188) (by @ilyagr).
  • (New) Commands top and bottom now accepts counts to move to a specific line (#1196) (by @joelim-work).
  • (New) A new option ruler is added to customize the ruler information with a new addition for free disk space (#1168 and #1205) (by @rrveex and @joelim-work).
  • (Fix) Example lfcd files have been made safer to be able to alias the commands as lf (#1049) (by @ilyagr).
  • (Fix) Backspace should not exit from rename: mode anymore (#1060) (by @ilyagr).
  • (Fix) Preview is now refreshed even if the selection does not change (#1074) (by @joelim-work).
  • (Fix) Stale directory cache entry is now deleted during rename (#1138) (by @joelim-work).
  • (Fix) File information is now updated properly after reloading (#1149) (by @joelim-work).
  • (Fix) Window widths are now calculated properly when drawbox is enabled (#1150) (by @joelim-work).
  • (Fix) Line number widths are now calculated properly when there are exactly 10 entries (#1151) (by @joelim-work).
  • (Fix) Preview is not redrawn in async shell commands (#1164) (by @joelim-work).
  • (Fix) A small delay is added before showing loading text in preview pane to avoid flickering (#1154) (by @joelim-work).
  • (Fix) Hard-coded box drawing characters are replaced with Tcell constants to enable the fallback mechanism (#1170) (by @joelim-work).
  • (Fix) Option relativenumber now shows zero in the current line (#1171) (by @joelim-work).
  • (Fix) Completion is not stuck in an infinite loop anymore when a match is longer than the window width (#1183) (by @p-ouellette).
  • (Fix) Completion now inserts the longest match even if there is no word before the cursor (#1184) (by @p-ouellette).
  • (Fix) Command doc should now work even if lf is not in the PATH variable (#1176) (by @ilyagr).
  • (Fix) Directory option changes should not crash the program anymore (#1204) (by @joelim-work).
  • (Fix) Option selmode is now validated for the accepted values (#1206) (by @joelim-work).

Don't miss a new lf release

NewReleases is sending notifications on new releases.