In Emacs, C-o or M-x open-line creates a blank new line under the point/cursor without moving it.Since c-l isn't used in insert mode and I like I have the following two lines in my .vimrc. C-o from emacs (open line at current point)inoremap <c-o> <esc><esc>mpA<cr><esc><esc>`pa make C-l do C-o's jobinoremap <c-l> <c-o>This mapping has a number of drawbacksIt clobbers whatever is in the p registerIf I use the c-o binding when my cursor is at the beginning of the line, after executing c-o my cursor is at position 1 instead of position 0.I have set so=7 so that I always see seven lines around my cursor if possible. If I'm near the bottom of this window invoking c-o counts as cursor movement Is there a way of adding a new line below the cursor without changing its position or using a register?
Equivalent of emacs open line C-o
key bindings