Laurent Birtz wrote:

Yes with these two mappings mentioned earlier in this thread,
all lines are indented after o<Enter><Enter><Enter>:

                 :inoremap <Enter> <Enter><space><bs>
                 :nnoremap o o<space><bs>


Got it! With these two mappings, it works correctly.
Apparently on my system (vim version 6.4, modified by Gentoo)
':imap o o<space><bs>' does not work as expected.

Thanks!
Laurent Birtz


":imap o o<space><bs>" means "add a space and delete it whenever you insert a lowercase o in _Insert_ mode". This creates an undo point after each lowercase o, which is probably not what you want.

See ":map-overview"


Best regards,
Tony.

Reply via email to