Home and end key support

Added support for home and end keys so they function exactly the same as ctrl+a and ctrl+e.