I added the following command to my .vimrc, which is designed to insert a blank line below the cursor
nnoremap <leader>o mzo<esc>`z
The sequence of this command is
- mark the cursor position
- use the
o
command to create a new line - use the escape key to go back to normal mode
- move the cursor back to its original marked position
However, after executing this command, the cursor ends up one character to the right of where it started. Why doesn't the cursor return to its original position?