diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-06-03 14:16:19 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-07-05 07:54:28 +1000 |
| commit | 8aba0b3cb4e5fe758328eba9eeba0401b4e77e52 (patch) | |
| tree | 78a3b1c8371782821d3d557e40992966e589a86b /doc | |
| parent | 183f32803b6495a716e85d643f19dbacde4ed053 (diff) | |
Change set-register command to take a list of values
Registers are lists of strings, so this make it possible to set
the whole list instead of forcing registers to a single element
when going through the set-register command.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/pages/commands.asciidoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/pages/commands.asciidoc b/doc/pages/commands.asciidoc index 6a8b241b..3e8ad480 100644 --- a/doc/pages/commands.asciidoc +++ b/doc/pages/commands.asciidoc @@ -239,9 +239,10 @@ but not really useful in that context. *fail* <text>:: raise an error, uses <text> as its description -*set-register* <name> <content>:: +*set-register* <name> <contents>...:: *alias* reg + - set register *name* to *content* (See <<registers#,`:doc registers`>>) + set register *name* to *content*, each content parameter is assigned to + a different string in the register. (See <<registers#,`:doc registers`>>) *select* <anchor_line>.<anchor_column>,<cursor_line>.<cursor_column>...:: replace the current selections with the ones described in the arguments |
