We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take hook global NormalKey * %{ echo %match{0} }.
hook global NormalKey * %{ echo %match{0} }
%match{0} is replaced with the match for which this hook was executed.
%match{0}
The text was updated successfully, but these errors were encountered:
You can access the parameter passed to the hook (the whole string matched by the hook regex) with $kak_hook_param in %sh{...} or with %val{hook_param}
$kak_hook_param
%sh{...}
%val{hook_param}
Sorry, something went wrong.
I was thinking about kak_hook_param_<n> to expose captured groups.
kak_hook_param_<n>
No branches or pull requests
Take
hook global NormalKey * %{ echo %match{0} }
.%match{0}
is replaced with the match for which this hook was executed.The text was updated successfully, but these errors were encountered: