Releases: sayanarijit/xplr
Releases · sayanarijit/xplr
v0.18.0
Changes & fixes
- Added new command-line arguments
--read0
,--write0
and-0
/--null
to
support reading and printing null character delimited file paths. - Added support for filtering with regex using the new filters:
RelativePathDoesMatchRegex
RelativePathDoesNotMatchRegex
IRelativePathDoesMatchRegex
IRelativePathDoesNotMatchRegex
AbsolutePathDoesMatchRegex
AbsolutePathDoesNotMatchRegex
IAbsolutePathDoesMatchRegex
IAbsolutePathDoesNotMatchRegex
- Key binding
f
r
andf
R
will now filter using regex. - Added key binding
f
backspace
to remove the last filter. - Search mode now defaults to regex search.
- Added a new message
SetInputPrompt
to set the input prompt dynamically. - Added new node properties (available via the Lua API):
created
last_modified
- Added support for sorting with timestamp using the new sorters:
ByCreated
ByLastModified
ByCanonicalCreated
ByCanonicalLastModified
BySymlinkCreated
BySymlinkLastModified
- 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
luarocks
support.
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_type
andborder_style
for all the panels to enable customizing the borders (see #450). - Added boolean option
xplr.config.general.enforce_bounded_index_navigation
to configure wrapping on move (see #441). - The built-in
init.lua
has 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_modes
in
the custom dynamic layout renderer context.
As of now, there's no way to access these fields in dynamic layouts. While
app.history
andapp.last_modes
can be re-added upon request
(with justification),app.directory_buffer
has 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_menu
totrue
to hide the remaps in
help menu. None
will be serialized tonil
in Lua.LuaEval
can now return a function that will be called with the Lua Context
argument. Refer to theFull List of Messages
doc for example.
v0.16.4
Changes & fixes
- Fixed a nasty performance issue with rendering custom dynamic layouts in a big directory.
- Fixed another nasty issue of cursor jumping back to the initial item after visiting a big directory.
v0.16.3
Changes & fixes
- Deprecated
config.general.cursor
. The default terminal cursor will be used
for the time being. - The input buffer now supports cursor movement and other readline-like editing
features. - You can now replace most boilerplate configuration handling keys to send
BufferInputFromKey
,RemoveInputBufferLastCharacter
,
RemoveInputBufferLastWord
,SetInputBuffer = ""
etc. messages with a
singleUpdateInputBufferFromKey
message. - Pass multiple paths as command-line arguments or via stdin to select paths,
e.g.xplr -- $PWD /path/to/select/1 /path/to/select/2
. - Pass
--force-focus
to focus on the first path even if it's a directory,
e.g.xplr . --force-focus
. - Order of logs has been reversed in the UI. Now the most recent log will be
displayed at the top. - Added new messages
LuaEval
andLuaEvalSilently
to run Lua code without
needing to define a function. However, theapp
context won't be available. - Added new key handlers:
- on_alphanumeric
- on_character
- on_navigation
- on_function
- Fixed a bug where opening xplr inside a symlink opened xplr in the physical
path. - Fixed a bug where passing invalid CLI arguments didn't cause any error.
v0.15.2
Changes & fixes
- Fixed incorrect count of selected files.
- Mime type of directories will be set as
inode/directory
. - Fixed typo:
MaxthLessThanLayoutWidth
->MaxLessThanLayoutWidth
. - Top-level configuration has been fully documented.
- Slight improvement in responsiveness and CPU usage.
- Minor refactor and cleanups.