Subj : Re: vim update... :/ To : Nelgin From : paulie420 Date : Sat Aug 19 2023 19:46:22 Ne> > (Paulie rant coming up;) I delete a line w/ 'dd'. I put it back w/ 'p'. Ne> > go into Visual Mode 'v' to select several lines of text, 'dd' it and 'p Ne> > back - but I know I'm using 1% of Vims featureset... Ne> Ne> If you know how many lines you want to move, you can do 5dd to delete Ne> and then move and p to paste. Ne> If you just wan to copy the lines you can use yy to yank, like 5yyp will Ne> duplicate the lines. You can also use P to paste before the cursor Ne> position. Ne> btw, if you dd by mistake, then u will undo. It'll undo several level of Ne> changes. These are good ones, I 'know' that theres 3 modes; number, operator, command - so yea, I need to remember to use #dd instead - and I didn't know of 'u' - I was using dd-delete as yy-yank; I'll start getting there, thanks Nelgin. |07p|15AULIE|1142|07o |08......... --- Mystic BBS v1.12 A48 (Linux/64) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129) .