/src/jline/src/main/resources/scala/tools/jline/keybindings.properties

http://github.com/greedy/scala-llvm · Properties File · 71 lines · 22 code · 22 blank · 27 comment · 0 complexity · 0445fcc2ba0dd717a28cee7d8d93b132 MD5 · raw file

  1. # Keybinding mapping for JLine. The format is:
  2. # [key code]=[logical operation]
  3. # CTRL-A: move to the beginning of the line
  4. 1=MOVE_TO_BEG
  5. # CTRL-B: move to the previous character
  6. 2=PREV_CHAR
  7. # CTRL-D: close out the input stream
  8. 4=EXIT
  9. # CTRL-E: move the cursor to the end of the line
  10. 5=MOVE_TO_END
  11. # CTRL-F: move to the next character
  12. 6=NEXT_CHAR
  13. # CTRL-G: abort
  14. 7=ABORT
  15. # BACKSPACE, CTRL-H: delete the previous character
  16. # 8 is the ASCII code for backspace and therefor
  17. # deleting the previous character
  18. 8=DELETE_PREV_CHAR
  19. # TAB, CTRL-I: signal that console completion should be attempted
  20. 9=COMPLETE
  21. # CTRL-J, CTRL-M: newline
  22. 10=NEWLINE
  23. # CTRL-K: erase the current line
  24. 11=KILL_LINE
  25. # CTRL-L: clear screen
  26. 12=CLEAR_SCREEN
  27. # ENTER: newline
  28. 13=NEWLINE
  29. # CTRL-N: scroll to the next element in the history buffer
  30. 14=NEXT_HISTORY
  31. # CTRL-O: move to the previous word
  32. 15=PREV_WORD
  33. # CTRL-P: scroll to the previous element in the history buffer
  34. 16=PREV_HISTORY
  35. # CTRL-R: search history
  36. 18=SEARCH_PREV
  37. # CTRL-T: move to next word
  38. 20=NEXT_WORD
  39. # CTRL-U: delete all the characters before the cursor position
  40. 21=KILL_LINE_PREV
  41. # CTRL-V: paste the contents of the clipboard (useful for Windows terminal)
  42. 22=PASTE
  43. # CTRL-W: delete the word directly before the cursor
  44. 23=DELETE_PREV_WORD
  45. # CTRL-X: delete the word directly after the cursor
  46. 24=DELETE_NEXT_WORD
  47. # DELETE, CTRL-?: delete the next character
  48. # 127 is the ASCII code for delete
  49. 127=DELETE_NEXT_CHAR