src/modules/frontend/text/inputrc
raw| 1 | # Be 8 bit clean. |
| 2 | set input-meta on |
| 3 | set output-meta on |
| 4 | |
| 5 | # allow the use of the Home/End keys |
| 6 | "\e[1~": beginning-of-line |
| 7 | "\e[4~": end-of-line |
| 8 | |
| 9 | # revert history browsing |
| 10 | "\e[A": next-history |
| 11 | "\e[B": previous-history |
| 12 | |
| 13 | # allow the use of the Delete/Insert keys |
| 14 | "\e[3~": delete-char |
| 15 | "\e[2~": quoted-insert |
| 16 | |
| 17 | # revert mappings for "page up" and "page down" to step to the beginning/end of |
| 18 | # the history |
| 19 | "\e[5~": end-of-history |
| 20 | "\e[6~": beginning-of-history |