In order to be able add blank lines without going into insertion mode, I'm trying to map
I've tried the following in my
map <M-o> o<ESC> map <M-O> O<ESC>
map <ALT-o> o<ESC> map <ALT-O> O<ESC>
and (as suggested below)
map <A-o> o<ESC> map <A-O> O<ESC>
but none work. It just gives the usual behavior, as if
ALT-o had not been defined.
This is my first time altering the
.vimrc file, and I can't find where the documentation tells you how to designate the various keys. But I am able to verify that my
.vimrc file is being read, by including:
map <Enter> ihello<ESC>
Which sucessfully maps
<Enter> to inserting
hello and returning to command mode.
I'm using vim with cygwin.