On 02/05/2011 07:52 PM, Michael(Xi Zhang) wrote:
Hi ,
Every time after I enter 'V' mode to select multiple lines and press
'Y', the cursor will go back to the first line of the selected block.
I have to move the cursor to the end of the block and paste it .
Is there a way to change the VIM's behavior, move the cursor to the end
of the block?
Thanks!
Sincerely,
Michael
You can use '] command after yanking to move to the end, you
can also make a visual mode mapping that yanks and then does
'] .
See :help ']
HTH, -ak
--
You received this message from the "vim_use" 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