|
@@ -24,6 +24,7 @@ void config(struct app *app) {
|
|
|
AAGK(app, "C-k", keybind_delete_to_edg_line, DIR_FORWARD);
|
|
AAGK(app, "C-k", keybind_delete_to_edg_line, DIR_FORWARD);
|
|
|
|
|
|
|
|
AAGK(app, "A-d", keybind_delete_word, DIR_FORWARD);
|
|
AAGK(app, "A-d", keybind_delete_word, DIR_FORWARD);
|
|
|
|
|
+ AAGK(app, "C-<backspace>", keybind_delete_word, DIR_BACKWARD);
|
|
|
|
|
|
|
|
AAGK(app, "C-e", keybind_mv_cur_edg_line, DIR_FORWARD);
|
|
AAGK(app, "C-e", keybind_mv_cur_edg_line, DIR_FORWARD);
|
|
|
AAGK(app, "C-a", keybind_mv_cur_edg_line, DIR_BACKWARD);
|
|
AAGK(app, "C-a", keybind_mv_cur_edg_line, DIR_BACKWARD);
|
|
@@ -54,13 +55,6 @@ void config(struct app *app) {
|
|
|
/* #define KEYBINDS_MAX_SIZE 1048 */
|
|
/* #define KEYBINDS_MAX_SIZE 1048 */
|
|
|
/* #define KMS KEYBINDS_MAX_SIZE */
|
|
/* #define KMS KEYBINDS_MAX_SIZE */
|
|
|
/* static struct keybinds keybinds[KMS] = { */
|
|
/* static struct keybinds keybinds[KMS] = { */
|
|
|
-/* [SDLK_BACKSPACE % KMS] = { */
|
|
|
|
|
-/* .size = 2, */
|
|
|
|
|
-/* .binds = { */
|
|
|
|
|
-/* {KMOD_NONE, keybind_delete_char, {.dir = DIR_BACKWARD}}, */
|
|
|
|
|
-/* {KMOD_CTRL, keybind_delete_word, {.dir = DIR_BACKWARD}} */
|
|
|
|
|
-/* } */
|
|
|
|
|
-/* }, */
|
|
|
|
|
/* [SDLK_PERIOD % KMS] = { */
|
|
/* [SDLK_PERIOD % KMS] = { */
|
|
|
/* .size = 1, */
|
|
/* .size = 1, */
|
|
|
/* .binds = { */
|
|
/* .binds = { */
|