table of contents
KAK_EXECEVAL(1) | execeval | KAK_EXECEVAL(1) |
NAME¶
execeval - a
DESCRIPTION¶
The exec and eval commands can be used to run Kakoune commands, and should be used as follows:
exec [<flags>] <key> ... eval [<flags>] <command> ...
exec runs keys as if they were pressed, whereas eval executes its given parameters as if they were entered in the command prompt. By default, their execution happens within the context of the current client, and stops when the last key/command is reached, or an error is raised.
These two commands also save the following registers, who are then restored when the commands have been executed: /, ", |, ^, @.
OPTIONAL FLAGS¶
-client <name>
-try-client <name>
-draft
-itersel (requires -draft)
-buffer <names>
-no-hooks
-with-maps
-save-regs <regs>