Hello, On 10/28/06, Jimmy Mack <[EMAIL PROTECTED]> wrote:
I really like the "gv" command, which starts visual mode and automatically selects the previous selection, regardless of where the cursor happens to be. I would like to see a similar command that starts visual mode and selects the block of text I have just pasted in. After extensive browsing through the help system and online, I can't find a way to do this. My vim scripting skills are weak, can anyone tell me if this is possible to script a command for? I'm not sure if vim retains information about the boundaries of the most recently pasted text.
Vim sets the '[ and '] marks to the beginning and end of the pasted text. You can use the following command to visually select the last pasted text: `[v`] For more information about this, read :help `[ :help `] - Yegappan
