this post was submitted on 17 Mar 2024
899 points (97.5% liked)
Programmer Humor
19572 readers
1357 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I am non-serious, I just don't like vim (or emacs; if I'm editing a text file in a terminal I want nano, or I append manually with pipes as Linus intended).
Most of my systems have X11 and some basic GUI text editor, my server is the exception that proves the rule. There is generally no actual reason to use Vim except liking Vim, or wanting to learn to like Vim.
For those that do like Vim, or want to learn it for historical reasons? Good on you, have fun.
If you like emacs fuck off though.
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. Ordaf
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" orSt<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.As long as you don't use emacs :P
I've only ever used it in evil mode, and it's not the same
Amen