The NetBSD Project

CVS log for pkgsrc/sysutils/xplr/

[BACK] Up to [] / pkgsrc / sysutils / xplr

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 4 12:29:33 2024 UTC (8 weeks, 2 days ago) by pin
Branch: MAIN
Changes since 1.32: +121 -104 lines
Diff to previous 1.32 (colored)

sysutils/xplr: update to 0.21.5

Changes & fixes
 - Added new messages to make it easier to jump between the deep level
   directories from history (as an alternative to runtime bookmarking).
    - PreviousVisitedDeepBranch
    - NextVisitedDeepBranch
 - New key bindings ( and ) bound to the new messages.
 - Added support for function keys upto F24.
 - Added selection count indicator in Input/Logs panel, so that selection panel
   can be hidden without losing the indicator.
 - Dependency updates.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 8 20:01:44 2023 UTC (6 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.31: +90 -91 lines
Diff to previous 1.31 (colored)

sysutils/xplr: update to 0.21.3

Changes & fixes

    Fixed "Illegal format character q" error seen on non GNU (including macOS and BSD) systems (thanks to @lcook).
    Fixed a UI issue causing lower priority styles being fully ignored (thanks to @duganchen).
    Press f1 to see the global help menu from any mode, without leaving the mode.
    Current mode help menu will be displayed on top of the global help menu.
    Added build targets (including direct download links) for Apple Silicon, aarch64 Linux, Android, arm Linux (thanks to @khvzak, author of mlua, for his help).
    Added hook: on_selection_change.
    Documentation improvements.

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 22 12:51:35 2023 UTC (9 months, 1 week ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.30: +60 -63 lines
Diff to previous 1.30 (colored)

sysutils/xplr: update 0.21.2

Changes & fixes
 - Added CustomLayout, a new custom panel type to allow nesting other layouts
   inside a static or dynamic layout. This will allow switching between
   different layouts dynamically, without having to switch modes.
 - $LS_COLORS will have lesser priority than xplr.config.node_types.*.style.
 - Now, there's no default color set in xplr.config.node_types.*.style, so xplr
   will default to $LS_COLORS.
 - xplr -m now uses jf to render and pass messages. This allows for a more
   flexible template syntax.
 - xplr will now ask before delete.
 - For copy, move or symlink operations, xplr will ask what to do if a file
   with the same name exists.
 - CLI help menu improvements
 - Several fixes and improvements in documentation. Thanks to @kianmeng and
   @hensg for contributing.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 28 20:28:51 2023 UTC (11 months ago) by pin
Branch: MAIN
Changes since 1.29: +15 -15 lines
Diff to previous 1.29 (colored)

sysutils/xplr: update to 0.21.1

- SelectAll and ToggleSelectAll (i.e. ctrl-a) in a new directory will extend,
  instead of replace, the existing selected paths.
- Fixed a UI bug causing random characters to turn bold.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Mar 20 06:52:23 2023 UTC (11 months, 2 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.28: +119 -71 lines
Diff to previous 1.28 (colored)

sysutils/xplr: update to 0.21.0

Changes & fixes

  - IMPORTANT FIX: Fixed panic on permission denial on macOS.
  - BREAKING: Some UI plugins might stop rendering colors. Wait for them to
  - BREAKING: xplr.config.general.sort_and_filter_ui.search_identifier has been
    renamed to xplr.config.general.sort_and_filter_ui.search_identifiers.
  - BREAKING: Resolved Node API will not contain the permissions field anymore.
    Use the utility function xplr.util.node to get its permissions.
  - Layout CustomContent has been undocumented. It will stay for compatibility,
    but you should prefer using the following new layouts, because they support
    custom title:
  - Improved the builtin search operation using the following new messages:
  - Builtin fuzzy search will now support skim's search syntax.
  - Default search algorithm: = "Fuzzy".
  - Default search ordering: = false.
  - Improved selection operations:
        BREAKING: Selection list will be retained after each operation unless the
        paths are renamed, moved, deleted, or cleared manually (ctrl-u).
        :sl to list selection in a $PAGER.
        :ss to create softlink of the selected items.
        :sh to create hardlink of the selected items.
        :se to edit selection list in your $EDITOR.
        Better conflict handling: add suffix rather than overriding/skipping.
  - Navigate between the selected paths using the following messages:
        FocusPreviousSelection (ctrl-p)
        FocusNextSelection (ctrl-n)
  - Added support for LS_COLORS, along with the following utility functions for
    applying better styling/theming.
  - By default colors will only be applied to the file name column in the table.
  - File paths will be properly quoted.
  - Column Renderer Argument will contain additional fields:
  - Selection list will display the paths in shorthand format, based on the
    current location.
  - Use the following config to specify how the paths in selection list should
    be rendered:
  - Improved working with file permissions using the following utility
  - Type :p to edit file permissions interactively.
  - More utility function for QOL improvement:
  - Fixed mime type detection for executables: application/x-executable.
  - Added workaround for compatibility with macOS legacy coreutils.
  - Fixed history navigation for non-existent paths.
  - Optimized navigation with long list of selected items.
  - Minor improvements in batch operations.
  - Minor improvements in logging.

Thanks to @noahmayr for contributing to a major part of this release.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 23 21:11:33 2023 UTC (13 months, 1 week ago) by pin
Branch: MAIN
Changes since 1.27: +44 -43 lines
Diff to previous 1.27 (colored)

sysutils/xplr: update to 0.20.2

Changes & fixes
 - Updated UI to be more light theme and NO_COLOR friendly.
 - Fixed creating files inside multiple subdirectories (e.g. foo/bar/test.txt)
   (thanks to @soryeigeton for reporting and help debugging).
 - Added new hooks (contribution by @emsquid).
    - on_mode_switch
    - on_layout_switch
 - Minor documentation fixes and updates (contribution by @BoolPurist).
 - Dependency updates.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Dec 5 11:25:23 2022 UTC (14 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.26: +40 -38 lines
Diff to previous 1.26 (colored)

sysutils/xplr: update to 0.20.1

Changes & fixes
 - xplr shell will default to $SHELL, using bash as a fallback. oh-my-zsh users
   please add TRAPEXIT() { echoti rmkx; } in your .zshrc (see #499 for more
 - (experiment) xplr will now display full-screen help menu in intermediate
   modes. Set xplr.config.modes.builtin[mode].layout = nil to disable. e.g.
   xplr.config.modes.builtin.create.layout = nil
 - Added new utility functions to work with json and yaml data.
     - xplr.util.from_json()
     - xplr.util.to_json()
     - xplr.util.from_yaml()
     - xplr.util.to_yaml()
 - Added new utility function xplr.util.version() to get the currently running
   binary version (semantic versioning fields).
 - Fixed displaying multispace characters (Japanese, Chinese...), thanks to
   @Elvyria for contributing to tui-input.
 - Fixed a bug causing the creation of a new directory named .\n when creating
   new files containing space in the name.
 - Minor UI updates.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Oct 29 20:34:43 2022 UTC (16 months ago) by pin
Branch: MAIN
Changes since 1.25: +42 -29 lines
Diff to previous 1.25 (colored)

sysutils/xplr: update to 0.20.0

Changes & fixes
 - BREAKING: xplr shell (:!) will default to null (\0) delimited pipes, as
   opposed to newline (\n) delimited ones (i.e. will use Call0 instead of
 - Use new messages for safer file path handling (\0 delimited):
    - Call0
    - CallSilently0
    - BashExec0
    - BashExecSilently0
 - Use new sub-commands for safer message passing:
    -m FORMAT [ARGUMENT]... / --pipe-msg-in FORMAT [ARGUMENT]...
    -M FORMAT [ARGUMENT]... / --print-msg-in FORMAT [ARGUMENT]...
     Where FORMAT is a YAML string that may contain %s, %q and %%
     placeholders and ARGUMENT is the value per placeholder. See init.lua.
 - Following hooks can be defined in the config files using an optional
   return { on_* = { list, of, messages }, ... } statement at the end.
    - on_load
    - on_focus_change
    - on_directory_change
 - Use --vroot to isolate navigation of an xplr session inside a specific
   directory. Interaction still requires passing full path, and shell,
   lua functions etc still can access paths outside vroot.
   Use the following messages to switch vroot at runtime, or the use key
   bindings available in the new builtin mode "vroot" (mapped to : v).
    - SetVroot
    - UnsetVroot
    - ToggleVroot
    - ResetVroot
 - Use $XPLR_INITIAL_PWD and Lua equivalent to implement workspace like
   features without using virtual root. Use keys gi to go to the initial
   working directory from anywhere.
 - Use the convenient xplr.util utility functions in your Lua function calls.
   See xplr.util API docs.
 - Improved CLI errors.
 - Finished documentation (finally).
 - UI updates to handle newlines in path.

Thanks to @jmcantrell for reporting and help implement fix for the critical
newline-in-pathname bug.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 6 19:46:49 2022 UTC (16 months, 3 weeks ago) by pin
Branch: MAIN
Changes since 1.24: +44 -40 lines
Diff to previous 1.24 (colored)

sysutils/xplr: update to 0.19.4

Changes & fixes
- The builtin search will now default to skim-v2 based fuzzy matching.
- esc while in search mode will recover the initial focus (i.e. cancel the
- The following messages will be available for search based operations:
- Quick scrolling operations are supported using the following messages and keys:
     ScrollUp page-up
     ScrollDown page-down
     ScrollUpHalf {
     ScrollDownHalf }

Note: People who prefer the old regex based search, can use the
regex-search.xplr plugin.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 11 11:36:15 2022 UTC (17 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.23: +58 -54 lines
Diff to previous 1.23 (colored)

sysutils/xplr: update to 0.19.3

 - Bug fixes for passing filters using the --on-load argument.

 - Fixed support for the following keys in input mode:

 - You can now access uid and gid of 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_IN pipe.
   See issue #503.
 - You can use the prompt field to define input prompt for each mode, instead
   of using the SetInputPrompt message. See init.lua changes.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 7 10:11:48 2022 UTC (20 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.22: +9 -8 lines
Diff to previous 1.22 (colored)

sysutils/xplr: update to 0.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 file becomes SwitchModeBuiltin: create_file
 and so on.
-Fixed a bug with handling tab key in the input buffer.
-Added xplr.config.general.global_key_bindings to define a set of key bindings
 that are available by default in every mode. e.g esc and ctrl-c.
-Added new builtin mode go_to_path which can be used for typing or pasting
 paths to enter into or to focus on. Type g p to enter this mode.
-Added basic tab completion support for the go_to_path, create_file,
 create_directory, rename and duplicate_as modes.
-Use the builtin function xplr.fn.builtin.try_complete_path to add easy tab
 completion support into your own configuration.
-Fixed syncing current working directory with OSC 7 compatible terminals (e.g.
-The NO_COLOR environment 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.

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 21 21:10:55 2022 UTC (21 months, 1 week ago) by pin
Branch: MAIN
Changes since 1.21: +16 -22 lines
Diff to previous 1.21 (colored)

Asysutils/xplr: update to 0.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:
    Key binding f r and f 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):
    Added support for sorting with timestamp using the new sorters:
    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
    Improved docs.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 5 07:01:26 2022 UTC (21 months, 4 weeks ago) by pin
Branch: MAIN
Changes since 1.20: +26 -26 lines
Diff to previous 1.20 (colored)

sysutils/xplr: update to 0.17.6

-Fixed rendering ANSI colors.
-Default UI improvements.
-Documented how to add luarocks support.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 14 10:59:06 2022 UTC (22 months, 2 weeks ago) by pin
Branch: MAIN
Changes since 1.19: +50 -39 lines
Diff to previous 1.19 (colored)

sysutils/xplr: update to 0.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).

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 28 08:28:01 2022 UTC (2 years ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.18: +13 -13 lines
Diff to previous 1.18 (colored)

sysutils/xplr: update to 0.17.3

Changes & fixes:
-Added new fields border_type and border_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.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 3 21:46:51 2022 UTC (2 years ago) by pin
Branch: MAIN
Changes since 1.17: +27 -27 lines
Diff to previous 1.17 (colored)

sysutils/xplr: update to 0.17.2

Changes & fixes
-Added CLI option --print-pwd-as-result to simplify implementing "cd on quit"
 using shell alias (See #437)
-alias xcd='cd "$(xplr --print-pwd-as-result)"'
-Added new key binding ctrl-d to duplicate a file or directory in the same
 parent directory with a different name. (See #434).

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 11 16:43:55 2022 UTC (2 years, 1 month ago) by pin
Branch: MAIN
Changes since 1.16: +24 -24 lines
Diff to previous 1.16 (colored)

sysutils/xplr: update to 0.17.1

Changes & fixes
-If errors occur during startup, xplr will display a debug error screen.
 This can be disabled by setting xplr.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.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 12 22:19:12 2021 UTC (2 years, 2 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.15: +19 -18 lines
Diff to previous 1.15 (colored)

sysutils/xplr: update to 0.17.0

Changes & fixes
-Deprecated app.directory_buffer, app.history, and app.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 and app.last_modes can be re-added upon request
 (with justification), app.directory_buffer has been deprecated for good.
 However, there's no change in the CallLua* context.
-As a result, change directory performance has been restored.
-Set xplr.config.general.hide_remaps_in_help_menu to true to hide the remaps in
 help menu.
-None will be serialized to nil in Lua.
-LuaEval can now return a function that will be called with the Lua Context
 argument. Refer to the Full List of Messages doc for example.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 16 08:21:46 2021 UTC (2 years, 3 months ago) by pin
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

sysutils/xplr: update to 0.16.4

-Fixed a nasty performance issue with rendering custom dynamic layouts in a big
-Fixed another nasty issue of cursor jumping back to the initial item after
 visiting a big directory.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 10 08:44:54 2021 UTC (2 years, 3 months ago) by pin
Branch: MAIN
Changes since 1.13: +29 -28 lines
Diff to previous 1.13 (colored)

sysutils/xplr: update to 0.16.3

-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
-You can now replace most boilerplate configuration handling keys to send
 BufferInputFromKey, RemoveInputBufferLastCharacter,
 RemoveInputBufferLastWord, SetInputBuffer = "" etc. messages with a
 single UpdateInputBufferFromKey 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 and LuaEvalSilently to run Lua code without
 needing to define a function. However, the app context won't be available.
-Added new key handlers:
-Fixed a bug where opening xplr inside a symlink opened xplr in the physical
-Fixed a bug where passing invalid CLI arguments didn't cause any error.

-Fix linux gnu bin release

-Fix CD for musl

-Upgrade to 0.16.0

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 24 22:07:14 2021 UTC (2 years, 4 months ago) by pin
Branch: MAIN
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (colored)

sysutils/xplr: update to 0.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.

-Bump version

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 7 11:50:44 2021 UTC (2 years, 4 months ago) by pin
Branch: MAIN
Changes since 1.11: +9 -8 lines
Diff to previous 1.11 (colored)

sysutils/xplr: update to 0.15.0

Changes & fixes:
-Added CustomContent as layout option that can be used to render custom
paragraphs, lists and tables. Both static and dynamic.
-Added support for optionally defining custom layouts for different modes.
-Added xplr.config.general.focus_selection_ui to highlight selected files
under focus differently than files under focus that are not selected.
-Added PopModeKeepingInputBuffer, and SwitchMode alternatives to allow
switching to different modes without resetting the input buffer.
-Removed config field from CallLuaArg as it's already available globally
as xplr.config.
-Fixed a bug which caused xplr to misbehave when used with specific tools and
environment (e.g. neovim, fzf, zsh4humans etc.).
-Recover mode will be disabled by default.
i.e. xplr.config.general.disable_recover_mode has been deprecated. Use
xplr.config.general.enable_recover_mode instead.
Library users please refer to the latest API docs and examples.
-New homepage:

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 2 11:31:53 2021 UTC (2 years, 6 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.10: +33 -36 lines
Diff to previous 1.10 (colored)

sysutils/xplr: update to 0.14.7

-Core: Fixed a bug where xplr logs a missing file error when the default config
file is missing.
-Core: xplr will now fall back to temp directory if runtime directory is
-Deps: Updated dependencies to the latest versions.
-Doc: Added new plugin - alacritty.xplr

-CLI: Added new command-line argument -C or --extra-config for better
integration with external tools (e.g.).
-UI: Minor fix in the permission column.
-Deps: Updated dependencies to the latest versions.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 2 15:06:45 2021 UTC (2 years, 7 months ago) by pin
Branch: MAIN
Changes since 1.9: +56 -57 lines
Diff to previous 1.9 (colored)

sysutils/xplr: update to 0.14.5

Changes & fixes:
-Added support for loading (unsafe) c modules via Lua require.
-Removed termion from dependency list.
-Optimized performance and memory usage.
-Minor fixes.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 5 19:12:45 2021 UTC (2 years, 8 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.8: +20 -20 lines
Diff to previous 1.8 (colored)

sysutils/xplr: update to 0.13.7

-Implemented basic CLI arguments.

-Removed --locked to use the latest versions of dependencies.

-Started publishing PGP signature for the source archive.

-Fix pgp publishing attempt.

-Fix pgp publishing attempt.

Changes & fixes:
-No need to Refresh explicitly. xplr with auto Refresh after each batch of
messages. i.e. you can remove all the Refresh from your init.lua.
-Mouse will be disabled by default. Use :m key binding or
{Enable|Disable|Toggle}Mouse messages to enable/disable mouse.
-Fixed focus jumping to the first file after deleting a file.
-Upgraded dependencies.
-Polished xplr library API.

Revision 1.8 / (download) - annotate - [select for diffs], Tue May 25 16:15:54 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

sysutils/xplr: update to 0.12.1

-Fixed compilation with stable rust.

Changes & fixes:
-xplr.config.node_types.mime_essence has split into type and subtype. Hence,
instead of xplr.config.node_types.mime_essence["text/plain"] = .. use
xplr.config.node_types.mime_essence["text"] = { plain = .. }.
-You can also define xplr.config.node_types.mime_essence["text"]["*"] that will
match all text types (text/*).
-Functions called using CallLua and CallLuaSilently now have optional return
-Some minor improvements to permission rendering.

-Fixed ctrl-i key behavior by remapping it back to tab.

Changes & fixes:
-Added file permissions.
-Added support for setting terminal colors from Lua functions.
-Removed remaps: from key bindings. Remapped keys using Lua assignments instead.
-Current mode will also be displayed on the input & logs panel title.
-Mapped :q to "quit" action.
-Minor UI fixes.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 23 17:08:50 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.6: +8 -19 lines
Diff to previous 1.6 (colored)

sysutils/xplr: update to 0.10.2

Changes & fixes:
-Fixed error with broken symlink.
-Fixed displaying correct symlink destination.
-Fixed deleting symlinks pointing to a directory.

Changes & files:
-Fixed icon rendering
-Made all the important structs public for visible documentation.

Changes & fixes:
-config.yml has been fully replaced with init.lua. If you have a lot of
customization in your config.yml, xplr-yml2lua can help you with migrating
it to lua.
-Handlebars templates has been replaced with Lua functions.
-xplr will fall back to default config if init.lua is corrupt. You will see
the error via log. So, now, it's not a big deal if you mess up init.lua or you
upgrade xplr and there's version incompatibility issue. You can still use it.
-Added (optional) mouse scrolling support, which be auto enabled on devices
that support mouse.
-History navigation will now behave like jump list in vim. So, you can even
jump and return to different locations in the same directory.
-Added messages CallLua and CallLuaSilently to call lua functions. The app
state will be passed as input to the functions, and the returned messages will
be handled by xplr. CallLua and CallLuaSilently are more flexible (and probably
faster) alternatives to Call, CallSilently, BashExec and BashExecSilently. e.g.
-Fixed "directory not empty" error on MacOS
-Fixed initial focus via CLI argument.

Changes & fixes:
-Fall back to default config when the custom config is corrupt. An error log
will be displayed.
-Optimized CPU usage by limiting pipe readers.
-Added messages CallLua and CallLuaSilently to call lua functions. The app
state will be passed as inputs to the functions, and the returned messages
will be handled by xplr.

-Fixed initial $PWD sync issue.

Changes & fixes:
-config.yml has been fully ported to init.lua. That means, xplr won't read
config.yml anymore.
-xplr.fn.builtin.foo_func format synax has been shortened to builtin.foo_func.

Changes & fixes:
-Added (optional) mouse scrolling support.
-History navigation will now behave like jump list.
-Fixed initial focus via CLI argument.
-Fixes MacOS error "directory not empty".

-Update version

Changes & fixes:
-Handlebars templates have been replaced with Lua functions. Hence, instead of
handlebars templates, you will be writing the location to the lua functions
(e.g. xplr.fn.builtin.fmt_general_table_row_cols_0) in
-As of now 4 inbuilt functions have been defined in Lua.
xplr.fn.builtin.fmt_general_table_row_cols_{n}, which can be overwritten
via ~/.config/xplr/init.lua.
-You can define your own functions in xplr.fn.custom.
-CallSilently message has been fixed, and you won't see the unexpected
stdout/stderr on screen anymore.

-Added support for native lua binding via ~/.config/xplr/init.lua.
-Fixed open in editor action by only opening the file under focus.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 15 14:55:48 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.5: +1 -45 lines
Diff to previous 1.5 (colored)

sysutils/xplr: update to 0.9.1

-Added support for un-mapping keys by remapping keys to null.
-Removed lag when ctrl-w is pressed in default mode.
-Use less -+F instead of less as the default pager.
-gx will open the file under focus.
-New key map :sx will open the selected files.
-Fixed selecting broken symlinks.
-Set the default col_spacing for the table to 1.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 19 16:17:46 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.4: +29 -1 lines
Diff to previous 1.4 (colored)

sysutils/xplr: update to 0.5.0

-Added support for sorting and filtering files using s and f key.
-Added read only mode. (general.read_only)
-Use ctrl-r to refresh UI when messed up.
-Follow symlink files to their parent directory using l or enter.
-Display file size.
-Added new UI variables canonical.*, symlink.*. (see this])

-Improved filter messages. (see this)
-Improved input handling
-Added messages RemoveInputBufferLastCharacter, RemoveInputBufferLastWord.
-Use backspace to delete the last character, ctrl-w to delete the last word,
ctrl-u to delete the line.
-Improved selection
-Use ctrl-a to toggle select all, ctrl-u to unselect all.
-Improved UI.

-Handle empty icon.
-Fixed selection duplicates.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 12 10:36:00 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.3: +1 -49 lines
Diff to previous 1.3 (colored)

sysutils/xplr: update to 0.4.2

-Add new messages Quit, LastVisitedPath and NextVisitedPath
-q is mapped to Quit.
-ctrl-o is mapped to LastVisitedPath
-ctrl-i / tab is mapped to NextVisitedPath

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 11 18:55:25 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.2: +49 -1 lines
Diff to previous 1.2 (colored)

sysutils/xplr: update to 0.4.1

-Fix remap behavior.
-Fix help menu.

-Support easier config overwrite (without having to dump the whole config).
-Rename custom field for node metadata to meta.
-Move icon to meta.icon.
-Rename normal_ui to default_ui.
-Rename filetypes to node_types.
-Split modes into modes.builtin and modes.custom.
-Add the missing create file mode.
-Rename focused_ui to focus_ui.
-Make version compatibility less annoying.
-Add key binding ~ to go to homedir.
-Add customizable cursor and prompts.
-Improve the help menus.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 9 09:02:18 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.1: +21 -1 lines
Diff to previous 1.1 (colored)

sysutils/xplr: update to 0.3.12

-Fix symlink support.
-Fix refresh behavior.
-Fix logs not being written to the pipe.
-Fix the help menu displaying esc for quit.

-Fix logs for being written in the pipe.
-Don't depend on `Refresh`, always write to the pipes.

-Watch PWD for changes.
-Optimize the main thread (small performance gain).

-There are changes in the default key bindings
-When in the default mode, pressing esc will not quit the session.
-:e will open a file in ${EDITOR:-vi}.
-When in the default search mode, entering or leaving a directory will not
reset the mode back to default. This might seem a little counter-intuitive
to the nnn users, but I think this adds to the productivity and should be
the default. The real-time mode indicator will help the users adapt to the
alternate defaults.

-Add RemoveNodeFilterFromInput message.
-Fix search and show hidden behavior.
-Clear screen before exit.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 6 14:59:50 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN

sysutils/xplr: import package

Hackable, minimal, fast TUI file explorer, stealing ideas from nnn and fzf.

Though xplr strives to be fast and minimalist, its speciality is its
Once you read the documentation, you should be able to configure the key
bindings, different run modes, and also the way it looks by modifying one
single configuration file.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>