1# Keybinding mapping for JLine. The format is: 2# [key code]: [logical operation] 3 4# CTRL-A: move to the beginning of the line 51: MOVE_TO_BEG 6 7# CTRL-B: move to the previous character 82: PREV_CHAR 9 10# CTRL-D: close out the input stream 114: EXIT 12 13# CTRL-E: move the cursor to the end of the line 145: MOVE_TO_END 15 16# CTRL-F: move to the next character 176: NEXT_CHAR 18 19# CTRL-G: move to the previous word 207: ABORT 21 22# BACKSPACE, CTRL-H: delete the previous character 23# 8 is the ASCII code for backspace and therefor 24# deleting the previous character 258: DELETE_PREV_CHAR 26 27# TAB, CTRL-I: signal that console completion should be attempted 289: COMPLETE 29 30# CTRL-J, CTRL-M: newline 3110: NEWLINE 32 33# CTRL-K: erase the current line 3411: KILL_LINE 35 36# CTRL-L: clear screen 3712: CLEAR_SCREEN 38 39# ENTER: newline 4013: NEWLINE 41 42# CTRL-N: scroll to the next element in the history buffer 4314: NEXT_HISTORY 44 45# CTRL-P: scroll to the previous element in the history buffer 4616: PREV_HISTORY 47 48# CTRL-R: redraw the current line 4918: SEARCH_PREV 50 51# CTRL-U: delete all the characters before the cursor position 5221: KILL_LINE_PREV 53 54# CTRL-V: paste the contents of the clipboard (useful for Windows terminal) 5522: PASTE 56 57# CTRL-W: delete the word directly before the cursor 5823: DELETE_PREV_WORD 59 60# CTRL-X: temporary location for PREV_WORD to make tests pass 6124: PREV_WORD 62 63# ESCAPE probably not intended this way, but it does the right thing for now 6427: REDISPLAY 65 66# DELETE, CTRL-?: delete the next character 67# 127 is the ASCII code for delete 68127: DELETE_NEXT_CHAR 69