keybindings: vi: ensure line home/end commands work in line wrap mode
https://bugs.activestate.com/show_bug.cgi?id=87356

(integrated from trunk branch change 77a36f2 by Todd Whiteman <toddw@activestate.com>)