this post was submitted on 28 Jun 2023
5 points (85.7% liked)

Linux

8185 readers
416 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

I know not everyone likes using vim but I thought those who do could share a good reason to get into it. For me its the repetition of the last change with the push of the dot key. Replace the current word with another and move the cursor to the next word you wish to replace. It makes the editor so versatile and feels very satisfying.

you are viewing a single comment's thread
view the rest of the comments
[–] marswarrior 1 points 1 year ago* (last edited 1 year ago)

I use vimv to bulk rename files, either from lf file manager or straight from terminal. I really like using macros like @mekkagodzilla mentioned. or I replace words using sed format :%s/old_word/new_word/g combined with regex when needed. Relative line numbers to jump lines.
Youtuber ThePrimeagen is an expert at using everything vim related.
Here's a playlist of his vim lessons you might like.