Document change to macros and marks in README

This commit is contained in:
Maxime Coste 2015-08-19 21:16:26 +01:00
parent 7ee027b125
commit 409931c99e

View File

@ -380,8 +380,11 @@ Marks
~~~~~ ~~~~~
Current selections position can be saved in a register and restored later on. Current selections position can be saved in a register and restored later on.
`Z` followed by a register will save the current selections in that register, By default, marks us the '^' register, but using the register can be set
`z` followed by a register will restore the selections saved in it. using `"<reg>` prefix.
`Z` will save the current selections to the register.
`z` will restore the selections from the register.
Jump list Jump list
~~~~~~~~~ ~~~~~~~~~
@ -823,14 +826,11 @@ Macros
Kakoune can record and replay a sequence of key presses. Kakoune can record and replay a sequence of key presses.
When pressing the `Q` key, followed by an alphabetic key for the macro name, Macros are recorded with the `Q` key, and are stored by default in the `@`
Kakoune begins macro recording: every pressed key will be added to the register. Another register can be chosen by with hitting `"<reg>` before
macro until the `Q` key is pressed again. the `Q` key.
To replay a macro, use the `q` key, followed by the macro name. To replay a macro, use the `q` key.
Macros are actually stored as a key sequence into a register, i.e. a macro name
is a register name.
Search selection Search selection
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~