Merge remote-tracking branch 'Screwtapello/document-file-expansion'

This commit is contained in:
Maxime Coste 2020-07-03 21:08:10 +10:00
commit e509a8e9cd

View File

@ -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 Expansions with the type `file` will expand to the content of the filename
given in argument as read from the host filesystem. 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 == Value expansions
Expansions with the type `val` give access to Kakoune internal data that is Expansions with the type `val` give access to Kakoune internal data that is