vi shortcuts on bash on mac not working e.g. CTRL + E, CTRL + A I have used vi as my main text editor for years now on Linux (and a few years back Mac too) and on my brand new Mac (running 10.8.4) I find when trying to edit a file using vi in Terminal I can not use the standard vi shortcuts e.g. using 'CTRL + E' to navigate to the end of a line. Instead the shortcut is set to the vim shortcut which is '$' to navigate to the end of a line. I a using bash. How can I get the standard vi shortcuts?
Ctrl-a for beginning of line and Ctrl-E for end of line are Emacs shortcuts, not vi. As such, they will not work in vi.