937
Songs about Vim (programming.dev)
submitted 9 months ago* (last edited 9 months ago) by chraebsli@programming.dev to c/programmer_humor@programming.dev

.

you are viewing a single comment's thread
view the rest of the comments
[-] Hexarei@programming.dev 5 points 9 months ago

The main reason for using (neo)vim is motions and text objects. Pretty cool to be able to type cxia, ]a, cxia to swap two function parameters in code. Or daf to delete a whole function.

Even just f to jump to a specific character later in the line, or t to jump up to that character are absolutely life changing.

I love love love editing HTML in neovim with the ability to do stuff like dst for "delete surrounding tag" or St<div class="something"> to surround the current selection with a new tag. I have yet to find another editor that can do stuff like that with just a couple key presses.

[-] Revan343@lemmy.ca 2 points 9 months ago

As long as you don't use emacs :P

this post was submitted on 17 Mar 2024
937 points (100.0% liked)

Programmer Humor

19883 readers
170 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS