aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-30 16:26:55 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-30 16:26:55 +0200
commita9c2a093fceec3a09eaffe29db157802af47dc59 (patch)
tree6854a4a70a0d09e37eb55e3c73fc869ffc56261b /config.def.h
parentfb80e02464b06e81c2c7e68cd3323fa56c4b9a6d (diff)
downloadvis-a9c2a093fceec3a09eaffe29db157802af47dc59.tar.gz
vis-a9c2a093fceec3a09eaffe29db157802af47dc59.tar.xz
Allow to supend the editor via CTRL-Z
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index ab44ddd..cc2a076 100644
--- a/config.def.h
+++ b/config.def.h
@@ -93,6 +93,7 @@ static bool vis_keypress(Key *key) {
}
static KeyBinding basic_movement[] = {
+ { { CONTROL('Z') }, suspend, { NULL } },
{ { KEY(LEFT) }, movement, { .i = MOVE_CHAR_PREV } },
{ { KEY(SLEFT) }, movement, { .i = MOVE_LONGWORD_START_PREV } },
{ { KEY(RIGHT) }, movement, { .i = MOVE_CHAR_NEXT } },