1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-20 09:19:24 +03:00

Document the availability of shell expansions in normal mode

Fixes #1805
This commit is contained in:
Maxime Coste 2018-01-23 15:59:46 +11:00
parent 299e22ca7c
commit b677797b92
2 changed files with 15 additions and 6 deletions

View File

@ -126,7 +126,11 @@ informations about Kakoune's state:
(e.g. *$kak_client_env_SHELL* is the SHELL variable)
Note that in order for Kakoune to pass a value in the environment, the
variable has to be spelled out within the body of the expansion
variable has to be spelled out within the body of the expansion.
Those environment variables are available in every context where
Kakoune use a shell command, such as the `|`, `!` or `$` normal
mode commands (See <<keys#,`:doc keys`>>).
== Markup strings

View File

@ -298,17 +298,21 @@ is a sequence of non whitespace characters
*|*::
pipe each selection through the given external filter program and
replace the selection with its output
replace the selection with its output. Shell expansions are available,
(See <<expansions#shell-expansions,`:doc expansions shell-expansions`>>)
*<a-|>*::
pipe each selection through the given external filter program and
ignore its output
ignore its output. Shell expansions are available,
(See <<expansions#shell-expansions,`:doc expansions shell-expansions`>>)
*!*::
insert command output before selection
insert command output before selection. Shell expansions are available,
(See <<expansions#shell-expansions,`:doc expansions shell-expansions`>>)
*<a-!>*::
append command output after selection
append command output after selection. Shell expansions are available,
(See <<expansions#shell-expansions,`:doc expansions shell-expansions`>>)
*u*::
undo last change
@ -542,7 +546,8 @@ to skim through the jump list using:
*$*::
pipe each selection to the given shell command and keep the ones
for which the shell returned 0
for which the shell returned 0. Shell expansions are available,
(See <<expansions#shell-expansions,`:doc expansions shell-expansions`>>)
== Object Selection