Project

General

Profile

Actions

On KEYDOWN » History » Revision 2

« Previous | Revision 2/6 (diff) | Next »
Per Amundsen, 11/18/2015 03:05 PM


Added in 1.9.2

on <level>:KEYDOWN:<@>:<key,...,keyN>:<commands>

Trigger when a user presses a key in a window, can be used to override built-in key-binds.

See also on KEYUP, $keyval, $keychar, $keyrpt.

Parameters

<level> - The level for the event to trigger.
<matchtext> - The Matchtext to listen to.
<*#?=!@> - The Matchtarget to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

on *:KEYDOWN:*:*:echo -ag Pressed key $keyval in $active

Updated by Per Amundsen about 6 years ago · 2 revisions

Also available in: PDF HTML TXT