diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2012-03-26 21:08:36 -0400 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2012-03-26 21:08:36 -0400 |
commit | aa3adf3a7ac095f8745a56599df8bf33ae3adf93 (patch) | |
tree | a55a12ee87dbe31a2a4c72f76bf58033f684fd9e /examples/config | |
parent | dcb3b4e1fcff682b412cfe5875f7054b97380d08 (diff) |
Clear selection and searches on ESCAPE
Diffstat (limited to 'examples/config')
-rw-r--r-- | examples/config/config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config index 77686a0..febfba0 100644 --- a/examples/config/config +++ b/examples/config/config @@ -192,6 +192,8 @@ set ebind = @mode_bind global,-insert @on_event ESCAPE @set_mode @on_event ESCAPE event KEYCMD_CLEAR @on_event ESCAPE js uzbl.follow.clearHints() +@on_event ESCAPE search_clear +@on_event ESCAPE js window.getSelection().removeAllRanges() @bind <Escape> = event ESCAPE @bind <Ctrl>[ = event ESCAPE |