one issue that both of us have is that we create newlines with o or O
and then go back to normal mode immediately afterwards.

I have this mapping
   noremap <Enter> i<cr><esc>
in my vimrc, so I *do* do it with one keystroke
(the Enter in normal mode).

That's an idea!

I use <CR> a lot in normal mode to move down a line, but I could
map the other key which does the same thing, '+'. It is also
easy to remember, as meaning, add a line.

I think you may be the first person I've met who uses the <enter> key for that purpose on a regular basis :) [ed: as I typed this, a second email came in from another person who uses <enter> ]

But yes, <enter>, "+" and "-" are keys that mostly duplicate the behavior of "j"/"k" keys, so I find them good candidates for remapping. I have "+" and "-" remapped to "O" and "o" respectively followed by <esc> for adding lines above/below the current line. But any mix of those keys would be usable for such purposes.

-tim



Reply via email to