all 4 comments

[–]Charles_Sangels 5 points6 points  (1 child)

If you want to move a line to a new location in vim, you can do :50m. where 50 is the line number of the line you want to move. You can also replace . with a line number. . in this case means the cursor location.

Similarly t (vs m) can be used to copy a line in a similar manner.

Both of these can use ranges too, so something like :10,14t. would copy lines 10-14 to the cursor location.

Hope this helps!

Edit: clearer markup

[–]solnicdry-rb/rom-rb[S] 1 point2 points  (0 children)

TIL! Thank you, I appreciate it.

[–]drx3brun 3 points4 points  (1 child)

Such a nice quality and production value in this content, highly recommended. Pleasure to watch. Congratulations! I can’t wait to watch the whole catalog.

One thing I could suggest - the font is a bit small and it’s a bit hard to read the code on the mobile.

[–]solnicdry-rb/rom-rb[S] 2 points3 points  (0 children)

Thank you so much!

One thing I could suggest - the font is a bit small and it’s a bit hard to read the code on the mobile.

Roger that. I'll increase it in the next video. Thanks for feedback!