Bind home and end key in terminal.