On Fri, Feb 8, 2013 at 5:45 PM, ping <songpingemail@gmail.com> wrote:
On 2/7/2013 3:39 PM, ping wrote:
> this is a small feature I constantly wanted to have but failed, I thought it hardly , and my idea is:
> use a function or new map, to make sure before paste, recording the positions/marks of the 2 lines that the new texts are going to be inserted into, say mark x/y
> then define a new map, so after paste, use these 2 marks to visual select the newly-pasted texts ('xjV'yk)...
> but this sounds a bit stupid -- have to change current "paste" behavior in order to "capture" the newly pasted texts.
> is there any better way to do that?
Hi ping,
I googled the subject of your message and found this : http://vim.wikia.com/wiki/Selecting_your_pasted_text
`[v`]
it seems to work.
nico
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment