Adjusted bindings for hjkl movement system

master
Allen Webster 2018-11-27 10:57:46 -08:00
parent 7406ff78e3
commit 9e81a83ec9
2 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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);