On Fri, 2006-08-25 at 22:30 +0200, Kevac Marko wrote:
By the way, what is the best method to copy some text from one
position in the file to another position?
While using the simple method of mouse copy\paste we emphasize two
problems:
1. We have to delete text from previous position using dd
2. If we copy text with tabs and than paste it, there are some
additional tabs appearing
Delete it with some variation of dd - numberdd to delete some number
of lines, or the ex mode d which takes any of the usual range selections
(:line#,line#d, or :.,/pattern/d, etc.), then go where you want it and
use P or p to put it before or after the cursor location respectively.
--
Les Mikesell
lesmikesll(a)gmail.com