Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Very nice. So if I use "ayy and then dd, dd will not replace what is in a, but if I type p it will paste what was just deleted using dd. And if I wanted to replace what is in "ayy with what I'm deleting, then I would use "add - is that right? Commented Dec 15, 2011 at 4:42
  • "ayy copies a line into register 'a'. "dd" cuts a line into a default register, not 'a'. 'p' pastes the default register, correct. And yes, "add cuts a line into register 'a', which would replace the contents from the "ayy command. Commented Dec 16, 2011 at 22:02