diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-07-03 21:08:10 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-07-03 21:08:10 +1000 |
| commit | e509a8e9cd626215b5d36b87f014a46a90a2c083 (patch) | |
| tree | c8503992123ea47b0474a5e29b862c2f89f28632 | |
| parent | 78fd817d9f9caf08d5cf118caba37adebdf51b5f (diff) | |
| parent | 14573244d41677b1b84d7fe75def2e393a820b62 (diff) | |
Merge remote-tracking branch 'Screwtapello/document-file-expansion'
| -rw-r--r-- | doc/pages/expansions.asciidoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc index f64a7cae..67e0f55a 100644 --- a/doc/pages/expansions.asciidoc +++ b/doc/pages/expansions.asciidoc @@ -171,6 +171,13 @@ Kakoune uses a shell command, such as the `|`, `!` or `$` normal mode commands Expansions with the type `file` will expand to the content of the filename given in argument as read from the host filesystem. +For example, this command stores the entire content of `/etc/passwd` into the +`a` register. + +---- +set-register a %file{/etc/passwd} +---- + == Value expansions Expansions with the type `val` give access to Kakoune internal data that is |
