diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-08-11 12:22:21 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-08-11 12:22:21 +0200 |
| commit | 25899f33cd7d5af504f198975d5241cfefdb99ec (patch) | |
| tree | 72ceb71e1ad3adb246d1d264abf864087813cf42 | |
| parent | b37f8f470afa4177aa03eef4760132b36dfdf04a (diff) | |
README: document register and option expansion
| -rw-r--r-- | README.asciidoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/README.asciidoc b/README.asciidoc index c9e48e8e..d09b2ec9 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -267,6 +267,15 @@ for example you can print informations on the current file in the status line using: :echo %sh{ ls -l $kak_bufname } +Register and Option expansion +----------------------------- + +Similar to shell expansion, register contents and options values can be +accessed through %reg{<register>} and %opt{<option>} syntax. + +for example you can display last search pattern with +:echo %reg{/} + Defining Commands ----------------- |
