From 9e81a83ec97789e5f405b4ebe6cbacb02d001245 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 27 Nov 2018 10:57:46 -0800 Subject: [PATCH] Adjusted bindings for hjkl movement system --- meta/4ed_build.cpp | 4 ++-- meta/4ed_metagen.cpp | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/meta/4ed_build.cpp b/meta/4ed_build.cpp index 206cd880..b8906de5 100644 --- a/meta/4ed_build.cpp +++ b/meta/4ed_build.cpp @@ -589,8 +589,8 @@ internal void standard_build(char *cdir, u32 flags, u32 arch){ fsm_generator(cdir); metagen(cdir); - do_buildsuper(cdir, fm_str(custom_files[Custom_Default]), arch); - //do_buildsuper(cdir, fm_str(custom_files[Custom_Experiments]), arch); + //do_buildsuper(cdir, fm_str(custom_files[Custom_Default]), arch); + do_buildsuper(cdir, fm_str(custom_files[Custom_Experiments]), arch); //do_buildsuper(cdir, fm_str(custom_files[Custom_Casey]), arch); //do_buildsuper(cdir, fm_str(custom_files[Custom_ChronalVim]), arch); build_main(cdir, true, flags, arch); diff --git a/meta/4ed_metagen.cpp b/meta/4ed_metagen.cpp index b300a2e6..1503b1d9 100644 --- a/meta/4ed_metagen.cpp +++ b/meta/4ed_metagen.cpp @@ -509,16 +509,16 @@ generate_remapping_code_and_data(){ bind(mappings, key_left, MDFR_CTRL|MDFR_SHIFT, seek_whitespace_left); bind(mappings, key_right, MDFR_CTRL|MDFR_SHIFT, seek_whitespace_right); - bind(mappings, 'k', MDFR_ALT|MDFR_CTRL, seek_whitespace_up_end_line); - bind(mappings, 'j', MDFR_ALT|MDFR_CTRL, seek_whitespace_down_end_line); - bind(mappings, 'h', MDFR_ALT|MDFR_CTRL, seek_whitespace_left); - bind(mappings, 'l', MDFR_ALT|MDFR_CTRL, seek_whitespace_right); + bind(mappings, 'K', MDFR_ALT, seek_whitespace_up_end_line); + bind(mappings, 'J', MDFR_ALT, seek_whitespace_down_end_line); + bind(mappings, 'H', MDFR_ALT, seek_whitespace_left); + bind(mappings, 'L', MDFR_ALT, seek_whitespace_right); bind(mappings, key_up, MDFR_ALT, move_line_up); bind(mappings, key_down, MDFR_ALT, move_line_down); - bind(mappings, 'K', MDFR_ALT, move_line_up); - bind(mappings, 'J', MDFR_ALT, move_line_down); + bind(mappings, 'k', MDFR_ALT|MDFR_CTRL, move_line_up); + bind(mappings, 'j', MDFR_ALT|MDFR_CTRL, move_line_down); bind(mappings, key_back, MDFR_CTRL, backspace_word); bind(mappings, key_del, MDFR_CTRL, delete_word);