I do indeed, thanks Tony.
A.J.Mechelynck wrote:
Robert Cussons wrote:
Sorry ignore this post, don't know what happened when I tried it
before, but of course this is already implemented, with '-', vim is
ahead of me again......don't I feel a fool!
Robert Cussons wrote:
Hello all,
I know that '+' can be used to insert a line below the line on which
the cursor is when in normal mode AND stays in normal mode, but is
there a key to insert a line above the cursor line and stay in normal
mode or would it need a mapping of something like 'k' followed by '+'
followed by 'j' and if so how would I write such a mapping, I would
propose '-' to be a good key to be mapped to it as it doesn't seem to
be used for anything else in normal mode?
Many thanks,
Rob.
You must have those keys remapped: here + and - move the cursor down or
up, on the first nonblank char of the line, but without adding empty
lines (and that's what they should do according to the help).
I would guess you have the following mappings defined somewhere:
:noremap + o<Esc>
:noremap - O<Esc>
Best regards,
Tony.