Releases: sayanarijit/xplr
Releases · sayanarijit/xplr
v0.19.2
Changes & fixes
Fixed support for the following keys in input mode:
- ctrl-h
- ctrl-b
- ctrl-f
- home
- end
- ctrl-k
v0.19.1
Changes & fixes
- You can now access
uidandgidof the file owners in the Lua API. See column-renderer and node docs. - The input buffer will support more readline-like keys. Also, added "DeleteTillEnd" as another cursor based "InputOperation" option. See tui-input v0.5.0 release.
- Fixed applying regex based filters via the CLI and
$XPLR_PIPE_MSG_INpipe. See issue #503. - You can use the
promptfield to define input prompt for each mode, instead of using theSetInputPromptmessage. See init.lua changes.
v0.19.0
Changes & fixes
- BREAKING: The builtin modes cannot be accessed using space separated names
anymore. Use underscore separated mode names.
For e.g.SwitchModeBuiltin: create filebecomes
SwitchModeBuiltin: create_fileand so on. - Fixed a bug with handling
tabkey in the input buffer. - Added
xplr.config.general.global_key_bindingsto define a set of
key bindings that are available by default in every mode. e.gesc
andctrl-c. - Added new builtin mode
go_to_pathwhich can be used for typing or pasting
paths to enter into or to focus on. Typegpto enter this mode. - Added basic tab completion support for the
go_to_path,create_file,
create_directory,renameandduplicate_asmodes. - Use the builtin function
xplr.fn.builtin.try_complete_pathto add easy tab
completion support into your own configuration. - Fixed syncing current working directory with OSC 7 compatible terminals (e.g.
Wezterm). - The
NO_COLORenvironment variable also disables OSC 7. - Significantly optimized regex based search and filter.
- The files table is a little compact now.
- Removed boilerplate config from the default
init.lua. - Minor input prompt related improvements in different modes.
Upgrade Guide: https://xplr.dev/en/upgrade-guide#v0180---v0190
v0.18.0
Changes & fixes
- Added new command-line arguments
--read0,--write0and-0/--nullto
support reading and printing null character delimited file paths. - Added support for filtering with regex using the new filters:
RelativePathDoesMatchRegexRelativePathDoesNotMatchRegexIRelativePathDoesMatchRegexIRelativePathDoesNotMatchRegexAbsolutePathDoesMatchRegexAbsolutePathDoesNotMatchRegexIAbsolutePathDoesMatchRegexIAbsolutePathDoesNotMatchRegex
- Key binding
frandfRwill now filter using regex. - Added key binding
fbackspaceto remove the last filter. - Search mode now defaults to regex search.
- Added a new message
SetInputPromptto set the input prompt dynamically. - Added new node properties (available via the Lua API):
createdlast_modified
- Added support for sorting with timestamp using the new sorters:
ByCreatedByLastModifiedByCanonicalCreatedByCanonicalLastModifiedBySymlinkCreatedBySymlinkLastModified
- The last column in the files table now displays the last modification time.
- Fixed a bug causing crashes when handling unicode characters in the input
buffer. - Improved docs.
v0.17.6
Changes & fixes
- Fixed rendering ANSI colors.
- Default UI improvements.
- Documented how to add
luarockssupport.
v0.17.4
Changes & fixes
- Fixed invalid cursor position when using multi character custom prompt.
- Improved documentation, covering almost every detail.
- More concise
init.lua. - Upgraded Rust version and edition.
- Upgraded dependencies.
- Performance improvements (due to the updates).
v0.17.3
Changes & fixes
- Added new fields
border_typeandborder_stylefor all the panels to enable customizing the borders (see #450). - Added boolean option
xplr.config.general.enforce_bounded_index_navigationto configure wrapping on move (see #441). - The built-in
init.luahas been fully documented (see #445). - Categorized the full list of messages using auto generation of docs from code (see #444).
- Some code refactor and documentation improvements.
v0.17.2
v0.17.1
Changes & fixes
- If errors occur during startup, xplr will display a debug error screen.
This can be disabled by settingxplr.config.general.disable_debug_error_mode = true - While creating files (e.g.
path/to/file), if the parent directories don't exist, they will be automatically created.
v0.17.0
Changes & fixes
- Deprecated
app.directory_buffer,app.history, andapp.last_modesin
the custom dynamic layout renderer context.
As of now, there's no way to access these fields in dynamic layouts. While
app.historyandapp.last_modescan be re-added upon request
(with justification),app.directory_bufferhas been deprecated for good.
However, there's no change in theCallLua*context. - As a result, change directory performance has been restored.
- Set
xplr.config.general.hide_remaps_in_help_menutotrueto hide the remaps in
help menu. Nonewill be serialized tonilin Lua.LuaEvalcan now return a function that will be called with the Lua Context
argument. Refer to theFull List of Messagesdoc for example.