;;;;;;; Preferred keybindings. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; up arrow goes to previous command ;/def -i -B'Up' bind_up_gen = /dokey RECALLB /def -i -b'^[[A' bind_up_win = /dokey RECALLB /def -i -b'^[OA' bind_up_lin = /dokey RECALLB ; down arrow goes to next command ;/def -i -B'Down' bind_down_gen = /dokey RECALLF /def -i -b'^[[B' bind_down_win = /dokey RECALLF /def -i -b'^[OB' bind_down_lin = /dokey RECALLF ; home goes to start of line ;/def -i -B'Home' bind_home_gen = /dokey HOME /def -i -b'^[[2~' bind_home_win = /dokey HOME ; end goes to end of line ;/def -i -B'End' bind_end_gen = /dokey END /def -i -b'^[[5~' bind_end_win = /dokey END ; pageup goes to previous world ;/def -i -B'PgUp' bind_pgup_gen = /dokey SOCKETB /def -i -b'^[[3~' bind_pgup_win = /dokey SOCKETB ; pagedown goes to next world ;/def -i -B'PgDn' bind_pgdn_gen = /dokey SOCKETF /def -i -b'^[[6~' bind_pgdn_win = /dokey SOCKETF ; delete deletes char ;/def -i -B'Delete' bind_del_gen = /dokey DCH /def -i -b'^[[4~' bind_del_win = /dokey DCH ; insert toggles insert mode ;/def -i -B'Insert' bind_ins_gen = /test insert:=!insert /def -i -b'^[[1~' bind_ins_win = /test insert:=!insert ; F3 does /reply ;/def -i -B'F3' bind_f3_gen = /input /reply /def -i -b'^[[13~' bind_f3_win = /input /reply /def -i -b'^[OR' bind_f3_lin = /input /reply ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;