diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-10-20 21:45:29 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-10-20 21:56:51 +1100 |
| commit | 9a5cf2fc9f9d4afff586109239a1a3640c821727 (patch) | |
| tree | 0c15c519c64bbc0776335c9ee5e970d59827a9ad /src/input_handler.cc | |
| parent | 354cfd3b8f3a93145b6f1b248bb1d047336d2e48 (diff) | |
Support explicit register for :, |, ! and $ commands
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:<ret>'`
`set-register a %{shell script}; execute-keys '"a|<ret>'`
...
This provides a nice way to avoid the need to escape keys to use
those normal mode commands.
Fixes #3825
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
