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
In other words, let's say I have this text:
#slide {
top: 10px;
}
I want to paste it to a location that looks like this:
<style>
li { float: left }
|
</style>
| indicates where it should be pasted. It should end up looking like:
<style>
li { float: left }
#slide {
top: 10px;
}
</style>
It seems like a pretty reasonable default paste behaviour, doesn't it?
Depends. Sometimes you don't necessarily want it indented to the same
level.
--
Best,
Ben
--
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