Tuesday, April 10, 2012

Re: How to do a relative paste?

On 04/10/2012 06:22 PM, Benjamin R. Haskell wrote:
> On Tue, 10 Apr 2012, AK wrote:
>
>> Hi, how can I paste keeping both the original indent and the indent of
>> pasted text, but not increasing with each line?
>
> It sounds like you want ]p
>
> See: :help ]p


That doesn't work for me when pasting from * register. Here's what I end
up with:

#ribbon {
position:absolute;
top:-3px;
left:-15px;
z-index:500;
}

when desired output is:

#ribbon {
position:absolute;
top:-3px;
left:-15px;
z-index:500;
}

-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

No comments: