← 返回命令列表

Linux command

xplr 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start xplr

xplr

Start in directory

xplr [/path/to/dir]

Pipe selection to command

xplr | xargs [command]

Start with config

xplr --config [config.lua]

Read paths from stdin

find . -name "*.txt" | xplr

Print and quit

xplr --print-pwd-as-result

说明

xplr is a hackable, minimal terminal file explorer. Written in Rust, it's fast and highly configurable. Lua configuration enables complete customization. Modes, keybindings, and UI can be redefined entirely. Selection handling pipes to stdout. This enables integration with other commands and scripts. Modes define behavior sets. Normal mode, selection mode, and custom modes provide context-aware keybindings. Plugins extend functionality. Community plugins add features like preview, bulk rename, and integration. The focus is on composition with Unix tools rather than built-in features for everything.

参数

--config _FILE_
Configuration file.
--print-pwd-as-result
Print current directory on exit instead of focused path.
-C _NAME=VALUE_
Override config value.
--read-only
Read-only mode (disables all write operations).
--vroot _PATH_
Set virtual root to restrict navigation boundary.
-m _MSG_
Send a message to xplr for processing.
-M _MSG_
Send a message to xplr without quoting the value.
--version, -V
Show version.
--help, -h
Show help.

FAQ

What is the xplr command used for?

xplr is a hackable, minimal terminal file explorer. Written in Rust, it's fast and highly configurable. Lua configuration enables complete customization. Modes, keybindings, and UI can be redefined entirely. Selection handling pipes to stdout. This enables integration with other commands and scripts. Modes define behavior sets. Normal mode, selection mode, and custom modes provide context-aware keybindings. Plugins extend functionality. Community plugins add features like preview, bulk rename, and integration. The focus is on composition with Unix tools rather than built-in features for everything.

How do I run a basic xplr example?

Run `xplr` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --config _FILE_ do in xplr?

Configuration file.