Subj : vim update... :/ To : paulie420 From : Nelgin Date : Sat Aug 19 2023 04:54:31 Re: vim update... :/ By: paulie420 to All on Fri Aug 18 2023 21:04:39 > (Paulie rant coming up;) I delete a line w/ 'dd'. I put it back w/ 'p'... I > go into Visual Mode 'v' to select several lines of text, 'dd' it and 'p' it > back - but I know I'm using 1% of Vims featureset... If you know how many lines you want to move, you can do 5dd to delete and then move and p to paste. If you just wan to copy the lines you can use yy to yank, like 5yyp will duplicate the lines. You can also use P to paste before the cursor position. btw, if you dd by mistake, then u will undo. It'll undo several level of changes. > Thats OK tho, right??? I suppose I'll continue to learn - but need to > remember to dive in and try to master a new 'thing' every couple days... Keep using the knowledge you know, and then build on it so you don't overwhelm yourself. Make a cheat sheet. Even I can't remember everything without referring to my notes from time to time. > At any rate, I'm a Vim user now. Thats not gonna change - week 2 was > supposed to be trying neoVim/other Vim implementations... I think I'll Good thing about vim...it's on every linux box usually. Unless you get unlucky and they have vi instead, which is not as fully featured but still powerful. .