Skip to content

Fixed a typo in the docs#2463

Closed
shibisuriya wants to merge 1 commit intogokcehan:masterfrom
shibisuriya:master
Closed

Fixed a typo in the docs#2463
shibisuriya wants to merge 1 commit intogokcehan:masterfrom
shibisuriya:master

Conversation

@shibisuriya
Copy link
Copy Markdown

I assume it is '$' not '%', must be a typo, because that block is not getting invoked when I paste.

@CatsDeservePets
Copy link
Copy Markdown
Collaborator

CatsDeservePets commented Mar 24, 2026

Hello @shibisuriya.

Both are valid and have a different meaning:

lf/doc.md

Lines 1462 to 1470 in 5d5387b

The following command prefixes are used by lf:
: read (default) built-in/custom command
$ shell shell command
% shell-pipe shell command running with the UI
! shell-wait shell command waiting for a key press
& shell-async shell command running asynchronously
The same evaluator is used for the command line and the configuration file for reading shell commands.

lf/doc.md

Lines 604 to 622 in 5d5387b

## read (modal) (default `:`)
Read a command to evaluate.
## shell (modal) (default `$`)
Read a shell command to execute.
## shell-pipe (modal) (default `%`)
Read a shell command to execute piping its standard I/O to the bottom statline.
## shell-wait (modal) (default `!`)
Read a shell command to execute and wait for a key press at the end.
## shell-async (modal) (default `&`)
Read a shell command to execute asynchronously without standard I/O.

Feel free to share your lfrc so we can take a look what is wrong with your configuration.

@CatsDeservePets
Copy link
Copy Markdown
Collaborator

Closed due to not being an actual typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants