From 1abb06f23be4ef7c0c7d8c7c2511b0f825ab2b19 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 1 May 2015 23:44:32 +0200 Subject: [PATCH] Fix out of order of enum. (needs better solution.) --- source/keyb.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/keyb.c b/source/keyb.c index 2f48e447..849728c4 100644 --- a/source/keyb.c +++ b/source/keyb.c @@ -19,6 +19,10 @@ const char *KeyBindingActionName[NUM_ABE] = "move-front", // MOVE_END "move-end", + // MOVE_WORD_BACK + "move-word-back", + // MOVE_WORD_FORWARD + "move-word-forward", // REMOVE_WORD_BACK "remove-word-back", // REMOVE_WORD_FORWARD @@ -27,10 +31,6 @@ const char *KeyBindingActionName[NUM_ABE] = "remove-char-forward", // REMOVE_CHAR_BACK "remove-char-back", - // MOVE_WORD_BACK - "move-word-back", - // MOVE_WORD_FORWARD - "move-word-forward", // ACCEPT_ENTRY "accept-entry", // ACCEPT_CUSTOM @@ -51,6 +51,10 @@ char *KeyBindingActionDefault[NUM_ABE] = "Control+a", // MOVE_END "Control+e", + // MOVE_WORD_BACK + "Alt+b", + // MOVE_WORD_FORWARD + "Alt+f", // REMOVE_WORD_BACK "Control+Alt+h", // REMOVE_WORD_FORWARD @@ -59,10 +63,6 @@ char *KeyBindingActionDefault[NUM_ABE] = "Delete,Control+d", // REMOVE_CHAR_BACK "BackSpace,Control+h", - // MOVE_WORD_BACK - "Alt+b", - // MOVE_WORD_FORWARD - "Alt+f", // ACCEPT_ENTRY // TODO: split Shift return in separate state. "Control+j,Control+m,Return",