I'm trying to switch to MacVim as my main editor, and I'm liking it so far, except for one issue:
I got really used to the Mac shortcuts control–A to go to the beginning of a line, and control–E to go to the end of a line.
However, these two don't work in MacVim (control–A does something weird — it seems to increase the last number in a line by 1 or something, and control–E seems to scroll down the screen by one line).
Any way to make these two shortcuts go to the beginning of a line / end of a line respectively instead?
Best Answer
Add the following to
.vimrc
or.gvimrc
: