MacVim -- how to make Ctrl+A go to beginning of line, Ctrl+E to the end of the line
Add the following to .vimrc or .gvimrc:

:" Map Ctrl-A -&gt; Start of line, Ctrl-E -&gt; End of line
:map &lt;C-a&gt; &lt;Home&gt;
:map &lt;C-e&gt; &lt;End&gt;