67659:normal stops execution when cursor can't be moved
- Jan 3, 2013Hello
I have found an unexpected behaviour in the normal command and I am not sure
if it is a bug or just not explicitly mentioned in the help.
Consider the following file (# depicts the cursor):
Now enter :norm! ddkP, the file should now look like this.
So far so good, execute the same command once more. Result:
The first line was removed but not inserted; this doesn't happen when
executing ddkP manually. The help file says that :normal stops on errors but
is it an error when the cursor just can't move one line up?
I don't know what behaviour was intended, but I think it should either be
considered a bug or there should be an explicit hint in the help.
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
- Next post in topic >>