Skip to content

Commit

Permalink
Merge remote-tracking branch 'Screwtapello/document-file-expansion'
Browse files Browse the repository at this point in the history
  • Loading branch information
mawww committed Jul 3, 2020
2 parents 78fd817 + 1457324 commit e509a8e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/pages/expansions.asciidoc
Expand Up @@ -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
Expand Down

0 comments on commit e509a8e

Please sign in to comment.