<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kakoune.git/test/normal/pipe-reg/in, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/'/>
<entry>
<title>Support explicit register for :, |, ! and $ commands</title>
<updated>2020-10-20T10:56:51+00:00</updated>
<author>
<name>Maxime Coste</name>
<email>mawww@kakoune.org</email>
</author>
<published>2020-10-20T10:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=9a5cf2fc9f9d4afff586109239a1a3640c821727'/>
<id>9a5cf2fc9f9d4afff586109239a1a3640c821727</id>
<content type='text'>
Giving an explicit register uses its content for the default value
to use if the user does not enter anything. This enables:

`set-register a %{commands}; execute-keys '"a:&lt;ret&gt;'`
`set-register a %{shell script}; execute-keys '"a|&lt;ret&gt;'`
...

This provides a nice way to avoid the need to escape keys to use
those normal mode commands.

Fixes #3825
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Giving an explicit register uses its content for the default value
to use if the user does not enter anything. This enables:

`set-register a %{commands}; execute-keys '"a:&lt;ret&gt;'`
`set-register a %{shell script}; execute-keys '"a|&lt;ret&gt;'`
...

This provides a nice way to avoid the need to escape keys to use
those normal mode commands.

Fixes #3825
</pre>
</div>
</content>
</entry>
</feed>
