aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar keis <keijser@gmail.com>2011-01-23 16:59:49 +0100
committerGravatar keis <keijser@gmail.com>2011-01-23 16:59:49 +0100
commitf93cce44561b2475965c91419e72895bc368918e (patch)
tree0ef6146573b6c10bcff1691ac0f6c51c53a37b37 /examples/config
parent476b539f6c0513ce60bb3c2fafc64d6ca6f6899f (diff)
disable keycmd reset on mode change
* makes history search work * adds new KEYCMD_CLEAR event * configure to clear keycmd on ESCAPE event
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config
index 4934469..2fea0d7 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -172,6 +172,7 @@ set ebind = @mode_bind global,-insert
# Resets keycmd and returns to default mode.
@on_event ESCAPE @set_mode
+@on_event ESCAPE event KEYCMD_CLEAR
@bind <Escape> = event ESCAPE
@bind <Ctrl>[ = event ESCAPE