I'd like to yank some visually selected text with execute:
:execute 'normal! v05l"+y'
But this indeed visually selected the 5 characters but
does not yank them. Its as if the " is a comment
character and not the start of a yank-to operation.
I assume, like so much else with Vim, there is a way,
but I could not find it.
Background: In a script I'd like to use
line("'>"), line("'<"), col("'>") and col("'<")
to do define text to be yank, and/or cut into
the clipboard register.
Thanks
Richard
--
Quis custodiet ipsos custodes
--
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